Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1RibbonForm Class / LogicalToDeviceUnits Method / LogicalToDeviceUnits(Size) Method
The size to be scaled.

In This Topic
    LogicalToDeviceUnits(Size) Method
    In This Topic
    Transforms a size from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for width and height.
    Syntax
    'Declaration
     
    
    Public Overloads Shadows Function LogicalToDeviceUnits( _
       ByVal value As Size _
    ) As Size
    public new Size LogicalToDeviceUnits( 
       Size value
    )

    Parameters

    value
    The size to be scaled.

    Return Value

    The scaled size.
    See Also