ImageSource.PixelsToDIPs(Double, Int32) Methode

Definition

Konvertiert Pixel gemäß MIL in geräteunabhängige Pixel.

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

Die Breite der Bitmap als DPI-Wert.

pixels
Int32

Die Breite der Bitmap in Pixel.

Gibt zurück

Die eigentliche Größe der Bitmap in geräteunabhängigen MIL-Pixeln (DIPs oder 1/96").

Gilt für: