Control.LogicalToDeviceUnits Control.LogicalToDeviceUnits Control.LogicalToDeviceUnits Control.LogicalToDeviceUnits Method

Definizione

Overload

LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size)

Trasforma una dimensione da unità logiche a unità dispositivo, modificandola per il valore DPI corrente e arrotondandola per difetto al valore intero più vicino per larghezza e altezza.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.

LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32)

Converte un valore DPI logico nel valore DPI DeviceUnit equivalente.Converts a Logical DPI value to its equivalent DeviceUnit DPI value.

LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size) LogicalToDeviceUnits(Size)

Trasforma una dimensione da unità logiche a unità dispositivo, modificandola per il valore DPI corrente e arrotondandola per difetto al valore intero più vicino per larghezza e altezza.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.

public:
 System::Drawing::Size LogicalToDeviceUnits(System::Drawing::Size value);
public System.Drawing.Size LogicalToDeviceUnits (System.Drawing.Size value);
member this.LogicalToDeviceUnits : System.Drawing.Size -> System.Drawing.Size
Public Function LogicalToDeviceUnits (value As Size) As Size

Parametri

value
Size Size Size Size

La dimensione da modificare.The size to be scaled.

Restituisce

La dimensione modificata.The scaled size.

LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32) LogicalToDeviceUnits(Int32)

Converte un valore DPI logico nel valore DPI DeviceUnit equivalente.Converts a Logical DPI value to its equivalent DeviceUnit DPI value.

public:
 int LogicalToDeviceUnits(int value);
public int LogicalToDeviceUnits (int value);
member this.LogicalToDeviceUnits : int -> int
Public Function LogicalToDeviceUnits (value As Integer) As Integer

Parametri

value
Int32 Int32 Int32 Int32

Valore logico da convertire.The Logical value to convert.

Restituisce

Valore DeviceUnit risultante.The resulting DeviceUnit value.

Si applica a