TreeView for WinForms | ComponentOne
C1.Framework.Html Namespace / HtmlElement Class / ScaleToDPI Method / ScaleToDPI(Style,Int32) Method
The style for scaling.
The dpi of display device.

In This Topic
    ScaleToDPI(Style,Int32) Method
    In This Topic
    Scales the C1.Framework.Style instance to custom display device dpi.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub ScaleToDPI( _
       ByVal value As Style, _
       ByVal dpi As Integer _
    ) 
    protected void ScaleToDPI( 
       Style value,
       int dpi
    )

    Parameters

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