[]
        
(Showing Draft Content)

C1.Util.DX.RectD.ToDips

ToDips Method

ToDips(RectD, float, float)

Converts a rectangle from pixels to DIPs.

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

ToDips(float, float)

Converts a rectangle 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