ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / C1.Framework Namespace / Element Class / ScaleToDeviceDPI Method / ScaleToDeviceDPI(Int32) Method
The value for scaling.

In This Topic
    ScaleToDeviceDPI(Int32) Method
    In This Topic
    Scales a value uses the DeviceDpi value if this element has a Element.HostControl.
    Syntax
    'Declaration
     
    Protected Overloads Function ScaleToDeviceDPI( _
       ByVal value As System.Integer _
    ) As System.Integer
    protected System.int ScaleToDeviceDPI( 
       System.int value
    )

    Parameters

    value
    The value for scaling.

    Return Value

    The scaled value.
    See Also