ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / 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 System.Integer, _
       ByVal deviceDpiNew As System.Integer _
    ) 
    public void RescaleForDpi( 
       System.int deviceDpiOld,
       System.int deviceDpiNew
    )

    Parameters

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