InputPanel for WinForms | ComponentOne
C1.Win.5 Assembly / C1.Framework Namespace / Element 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 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