Control.ScaleBitmapLogicalToDevice(Bitmap) 方法

定义

发生 DPI 更改时,可以将逻辑位图值缩放到其等效设备单元值。

public:
 void ScaleBitmapLogicalToDevice(System::Drawing::Bitmap ^ % logicalBitmap);
public void ScaleBitmapLogicalToDevice (ref System.Drawing.Bitmap logicalBitmap);
member this.ScaleBitmapLogicalToDevice : Bitmap -> unit
Public Sub ScaleBitmapLogicalToDevice (ByRef logicalBitmap As Bitmap)

参数

logicalBitmap
Bitmap

要缩放的位图。

适用于