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

定義

オーバーロード

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

現在の DPI に合わせて拡大縮小し、幅と高さを最も近い整数値に丸めることで論理単位からデバイス単位にサイズを変換します。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)

論理 DPI 値をその同等 DeviceUnit DPI 値に変換します。Converts a Logical DPI value to its equivalent DeviceUnit DPI value.

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

現在の DPI に合わせて拡大縮小し、幅と高さを最も近い整数値に丸めることで論理単位からデバイス単位にサイズを変換します。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

パラメーター

value
Size Size Size Size

拡大縮小するサイズ。The size to be scaled.

戻り値

拡大縮小されたサイズ。The scaled size.

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

論理 DPI 値をその同等 DeviceUnit DPI 値に変換します。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

パラメーター

value
Int32 Int32 Int32 Int32

変換する論理値。The Logical value to convert.

戻り値

結果の DeviceUnit 値。The resulting DeviceUnit value.

適用対象