Skip to main content
.NET Framework Class Library
ImageSource..::.Width Property

When overridden in a derived class, gets the width of the image in measure units (96ths of an inch).

Namespace: System.Windows.Media
Assembly: PresentationCore (in PresentationCore.dll)
Syntax
Public MustOverride ReadOnly Property Width As Double
	Get
public abstract double Width { get; }
public:
virtual property double Width {
	double get () abstract;
}
abstract Width : float

Property Value

Type: System..::.Double
The width of the image in measure units (96ths of an inch).
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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