TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / CustomContentPresenter Class / RescaleConstantsForDpi Method / RescaleConstantsForDpi(Int32,Int32) Method
The DPI value prior to the change.
The DPI value after the change.

In This Topic
    RescaleConstantsForDpi(Int32,Int32) Method
    In This Topic
    Provides constants for rescaling the control when a DPI change occurs.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub RescaleConstantsForDpi( _
       ByVal deviceDpiOld As Integer, _
       ByVal deviceDpiNew As Integer _
    ) 
    public virtual void RescaleConstantsForDpi( 
       int deviceDpiOld,
       int deviceDpiNew
    )

    Parameters

    deviceDpiOld
    The DPI value prior to the change.
    deviceDpiNew
    The DPI value after the change.
    See Also