ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / C1CustomizerForm Class / OnGetDpiScaledSize Method

In This Topic
    OnGetDpiScaledSize Method (C1CustomizerForm)
    In This Topic
    Syntax
    'Declaration
     
    Protected Overridable Function OnGetDpiScaledSize( _
       ByVal deviceDpiOld As System.Integer, _
       ByVal deviceDpiNew As System.Integer, _
       ByRef desiredSize As System.Drawing.Size _
    ) As System.Boolean
    protected virtual System.bool OnGetDpiScaledSize( 
       System.int? deviceDpiOld,
       System.int? deviceDpiNew,
       ref System.Drawing.Size? desiredSize
    )

    Parameters

    deviceDpiOld
    deviceDpiNew
    desiredSize
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also