ImageSource.PixelsToDIPs(Double, Int32) Methode

Definition

Konvertiert Pixel in DIPs auf eine Weise, die mit MIL konsistent ist.

protected:
 static double PixelsToDIPs(double dpi, int pixels);
protected static double PixelsToDIPs(double dpi, int pixels);
static member PixelsToDIPs : double * int -> double
Protected Shared Function PixelsToDIPs (dpi As Double, pixels As Integer) As Double

Parameter

dpi
Double

Breite der Bitmap in Punkten pro Zoll.

pixels
Int32

Breite der Bitmap in Pixel.

Gibt zurück

Die natürliche Größe der Bitmap in MIL Device Independent Pixels (DIPs oder 1/96).

Gilt für: