This documentation is archived and is not being maintained.

D3DImage Constructor (Double, Double)

Updated: July 2008

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

Namespace:  System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

public D3DImage(
	double dpiX,
	double dpiY
)
You cannot use constructors in XAML.

Parameters

dpiX
Type: System.Double

The display resolution on the x-axis.

dpiY
Type: System.Double

The display resolution on the y-axis.

ExceptionCondition
ArgumentOutOfRangeException

dpiX or dpiY is less than zero.

The default display resolution is 1/96th inch.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP2

Date

History

Reason

July 2008

Added topic for new class.

SP1 feature change.

Show: