D3DImage.Width Property


Gets the width of the D3DImage.

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

public override sealed double Width { get; }

Property Value

Type: System.Double

The width of the D3DImage, in measure units. A measure unit is 1/96th inch.

The value of Width can change when a new back buffer is assigned by a call to the SetBackBuffer method.

.NET Framework
Available since 3.0
Return to top