TreeView for WinForms | ComponentOne
C1.Win.Util Namespace / DpiHelper Class / ScaleToDPI Method / ScaleToDPI(Style,Int32) Method
The style for scaling.
The DPI value for the current display device.

In This Topic
    ScaleToDPI(Style,Int32) Method
    In This Topic
    Scales the C1.Framework.Style instance to the dpi.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub ScaleToDPI( _
       ByVal value As Style, _
       ByVal dpi As Integer _
    ) 
    public static void ScaleToDPI( 
       Style value,
       int dpi
    )

    Parameters

    value
    The style for scaling.
    dpi
    The DPI value for the current display device.
    Remarks
    This method doen't scale the Font property.
    See Also