[]
        
(Showing Draft Content)

C1.Framework.XView.LogicalToDeviceUnits

LogicalToDeviceUnits Method

LogicalToDeviceUnits(int, int, int, int)

Transforms a Thickness from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for left, right, top and bottom.

Declaration
public Thickness LogicalToDeviceUnits(int left, int top, int right, int bottom)
Parameters
Type Name Description
int left

The left to be scaled.

int top

The top to be scaled.

int right

The right to be scaled.

int bottom

The bottom to be scaled.

Returns
Type Description
Thickness

The scaled Thickness.