[]
        
(Showing Draft Content)

C1.Util.DX.RectF.ToDips

ToDips Method

ToDips(RectF, float, float)

Converts a rectangle from pixels to DIPs.

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

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