現在の DPI に合わせて
Thickness を拡大縮小し、左右上下の各辺の太さを最も近い整数値に切り捨てることで、太さを論理単位からデバイス単位に変換します。
シンタックス
'宣言
Public Overloads Function LogicalToDeviceUnits( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As Thickness
public Thickness LogicalToDeviceUnits(
System.int ,
System.int ,
System.int ,
System.int
)
パラメータ
- left
- 拡大縮小される左辺。
- top
- 拡大縮小される上辺。
- right
- 拡大縮小される右辺。
- bottom
- 拡大縮小される下辺。
戻り値の型
参照