C1.Win.C1InputPanel.4.8 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanel Class / LogicalToDeviceUnits Method / LogicalToDeviceUnits(Int32,Int32,Int32,Int32) Method
The left to be scaled.
The top to be scaled.
The right to be scaled.
The bottom to be scaled.

In This Topic
LogicalToDeviceUnits(Int32,Int32,Int32,Int32) Method
In This Topic
Transforms a C1.Framework.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 left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
) As Thickness
 

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