Converts the logical pixel representation into screen pixels.
'Declaration
Public Overloads Shared Function ConvertFromLogicalPixels( _
ByVal As Double, _
ByVal As Visual _
) As Integer
Parameters
- logicalPixelValue
- The logical pixel value to convert.
- relativeVisual
- An element that is used to obtain the required DPI information or null to use the default dpi information.
Return Value
The screen pixel representation of the specified logical pixels.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2