Udostępnij za pośrednictwem


SoftwareBitmap.DpiX Property

Definition

Gets or sets the dots per inch of the software bitmap in the X direction.

public:
 property double DpiX { double get(); void set(double value); };
double DpiX();

void DpiX(double value);
public double DpiX { get; set; }
var double = softwareBitmap.dpiX;
softwareBitmap.dpiX = double;
Public Property DpiX As Double

Property Value

Double

double

The dots per inch of the software bitmap in the X direction.

Remarks

DpiX and DpiY are metadata about the bitmap. Modifying these values does not scale the image.

Applies to