DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / LicenseDialog Class / OnGetDpiScaledSize Method






    OnGetDpiScaledSize Method
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    Protected Overridable Function OnGetDpiScaledSize( _
       ByVal deviceDpiOld As System.Integer, _
       ByVal deviceDpiNew As System.Integer, _
       ByRef desiredSize 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)

    Parameters

    deviceDpiOld
    deviceDpiNew
    desiredSize
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also