Επεξεργασία

Κοινή χρήση μέσω


D3DImage Constructors

Definition

Initializes a new instance of the D3DImage class.

Overloads

D3DImage()

Initializes a new instance of the D3DImage class.

D3DImage(Double, Double)

Initializes a new instance of the D3DImage class with the specified display resolution.

D3DImage()

Initializes a new instance of the D3DImage class.

public:
 D3DImage();
public D3DImage ();
Public Sub New ()

Remarks

The default display resolution is 1/96th inch.

Applies to

D3DImage(Double, Double)

Initializes a new instance of the D3DImage class with the specified display resolution.

public:
 D3DImage(double dpiX, double dpiY);
[System.Security.SecurityCritical]
public D3DImage (double dpiX, double dpiY);
public D3DImage (double dpiX, double dpiY);
[<System.Security.SecurityCritical>]
new System.Windows.Interop.D3DImage : double * double -> System.Windows.Interop.D3DImage
new System.Windows.Interop.D3DImage : double * double -> System.Windows.Interop.D3DImage
Public Sub New (dpiX As Double, dpiY As Double)

Parameters

dpiX
Double

The display resolution on the x-axis.

dpiY
Double

The display resolution on the y-axis.

Attributes

Exceptions

dpiX or dpiY is less than zero.

Remarks

The default display resolution is 1/96th inch.

See also

Applies to