[]
        
(Showing Draft Content)

C1.Util.DX.Point2D.ToDips

ToDips Method

ToDips(Point2D, float, float)

Converts a point from pixels to DIPs.

Declaration
public static Point2D ToDips(Point2D pt, float dpiX, float dpiY)
Public Shared Function ToDips(pt As Point2D, dpiX As Single, dpiY As Single) As Point2D
Parameters
Type Name Description
Point2D pt
float dpiX
float dpiY
Returns
Type Description
Point2D

ToDips(float, float)

Converts a point from pixels to DIPs.

Declaration
public void ToDips(float dpiX, float dpiY)
Public Sub ToDips(dpiX As Single, dpiY As Single)
Parameters
Type Name Description
float dpiX
float dpiY