BitmapData::Width Property

 

Gets or sets the pixel width of the Bitmap object. This can also be thought of as the number of pixels in one scan line.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property int Width {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The pixel width of the Bitmap object.

.NET Framework
Available since 1.1
Return to top
Show: