Autodesk Vault ProfessionalVault API

LogicalToDeviceUnits(Size) Method

Autodesk.DataManagement.Client.Framework.Vault.Forms.ControlsClassicVaultNavigationPathComboboxControl

Transforms a size from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for width and height.

Syntax

public System.Drawing.Size LogicalToDeviceUnits(
   System.Drawing.Size value
)
Public Overloads Function LogicalToDeviceUnits( _
   ByVal value As System.Drawing.Size _
) As System.Drawing.Size

Parameters

NameDescription
valueThe size to be scaled.

Return Value

The scaled size.

See Also