次の方法で共有


BitmapData.Width プロパティ

Bitmap オブジェクトのピクセルの幅を取得または設定します。この値を 1 つのスキャン ラインのピクセル数と考えることもできます。

Public Property Width As Integer
[C#]
public int Width {get; set;}
[C++]
public: __property int get_Width();public: __property void set_Width(int);
[JScript]
public function get Width() : int;public function set Width(int);

プロパティ値

Bitmap オブジェクトのピクセルの幅。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

BitmapData クラス | BitmapData メンバ | System.Drawing.Imaging 名前空間