OnGetDpiScaledSize Method
In This Topic
Syntax
'Declaration
<System.ComponentModel.BrowsableAttribute(True)>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Protected Overridable Function OnGetDpiScaledSize( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByRef As System.Drawing.Size _
) As System.Boolean
'Usage
Dim instance As LicenseDialog
Dim deviceDpiOld As System.Integer
Dim deviceDpiNew As System.Integer
Dim desiredSize As System.Drawing.Size
Dim value As System.Boolean
value = instance.OnGetDpiScaledSize(deviceDpiOld, deviceDpiNew, desiredSize)
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
protected virtual System.bool OnGetDpiScaledSize(
System.int ,
System.int ,
ref System.Drawing.Size
)
protected function OnGetDpiScaledSize(
: System.Integer;
: System.Integer;
var : System.Drawing.Size
): System.Boolean; virtual;
System.ComponentModel.BrowsableAttribute()
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
protected function OnGetDpiScaledSize(
: System.int,
: System.int,
: System.Drawing.Size
) : System.boolean;
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
protected: virtual System.bool OnGetDpiScaledSize(
System.int ,
System.int ,
ref System.Drawing.Size
)
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
protected:
virtual System.bool OnGetDpiScaledSize(
System.int ,
System.int ,
System.Drawing.Size%
)
Parameters
- deviceDpiOld
- deviceDpiNew
- desiredSize
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also