LogicalToDeviceUnits(Int32,Int32,Int32,Int32) Method
In This Topic
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.
Syntax
'Declaration
Public Overloads Function LogicalToDeviceUnits( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As Thickness
public Thickness LogicalToDeviceUnits(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- left
- The left to be scaled.
- top
- The top to be scaled.
- right
- The right to be scaled.
- bottom
- The bottom to be scaled.
Return Value
See Also