Control.ScaleBitmapLogicalToDevice(Bitmap) Control.ScaleBitmapLogicalToDevice(Bitmap) Control.ScaleBitmapLogicalToDevice(Bitmap) Control.ScaleBitmapLogicalToDevice(Bitmap) Method

定义

发生 DPI 更改时,可以将逻辑位图值缩放到其等效设备单元值。Scales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.

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 Bitmap Bitmap Bitmap

要缩放的位图。The bitmap to scale.

适用于