ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.ScaledPixels

Returns the given pixels scaled to the user's dpi settings.

Syntax
Pascal
class function ScaledPixels(pPixels: Integer): Integer;
Parameters 
Description 
pPixels: Integer 
The value that should be scaled. 

The given pixels scaled to the user's dpi settings. In case of 100% / 96dpi the given value is returned.