Ribbon for WinForms | ComponentOne
C1.Framework Namespace / TextElement Class / ScaleToDeviceDPI Method / ScaleToDeviceDPI(Style) Method
The style for scaling.

In This Topic
    ScaleToDeviceDPI(Style) Method
    In This Topic
    Scales the Style instance uses the DeviceDpi value if this element has a Element.HostControl.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub ScaleToDeviceDPI( _
       ByVal value As Style _
    ) 
    protected void ScaleToDeviceDPI( 
       Style value
    )

    Parameters

    value
    The style for scaling.
    Remarks
    This method doen't scale the Font property.
    See Also