Ribbon for WinForms | ComponentOne
C1.Framework Namespace / HostedElement Class / RescaleForDpi Method
The DPI value prior to the change.
The DPI value after the change.

In This Topic
    RescaleForDpi Method (HostedElement)
    In This Topic
    Calls methods to rescale of the element tree when a DPI change occurs.
    Syntax
    'Declaration
     
    
    Public Sub RescaleForDpi( _
       ByVal deviceDpiOld As Integer, _
       ByVal deviceDpiNew As Integer _
    ) 
    public void RescaleForDpi( 
       int deviceDpiOld,
       int deviceDpiNew
    )

    Parameters

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