共用方式為


DpiHelper.LogicalToDeviceUnits 方法 (Bitmap%, Size, Color, ImageScalingMode)

命名空間:  Microsoft.TeamFoundation.Client.Dpi
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Sub LogicalToDeviceUnits ( _
    ByRef imageStrip As Bitmap, _
    logicalImageSize As Size, _
    backgroundColor As Color, _
    scalingMode As ImageScalingMode _
)
public void LogicalToDeviceUnits(
    ref Bitmap imageStrip,
    Size logicalImageSize,
    Color backgroundColor,
    ImageScalingMode scalingMode
)

參數

.NET Framework 安全性

請參閱

參考

DpiHelper 類別

LogicalToDeviceUnits 多載

Microsoft.TeamFoundation.Client.Dpi 命名空間