Class ImageType
ピクセルフォーマットや画像サイズを含む、画像の種類を表します。
コンストラクタ
ImageType(int, int, PixelFormat)
新しい画像タイプオブジェクトを作成します。
宣言
public ImageType(int width = 0, int height = 0, PixelFormat pixelFormat = PixelFormat.Unspecified)
パラメータ
| 型 | 名前 | 説明 |
|---|---|---|
| int | width | 画像の幅(ピクセル単位)。指定されていない場合は0 |
| int | height | 画像の高さ(ピクセル単位)。指定されていない場合は0 |
| PixelFormat | pixelFormat | 画像のピクセルフォーマット。指定されていない場合はUnspecified |
プロパティ
PixelFormat
画像のピクセルフォーマット
宣言
public PixelFormat PixelFormat { get; set; }
プロパティ値
| 型 | 説明 |
|---|---|
| PixelFormat | 画像のピクセルフォーマット。指定されていない場合はUnspecified |
メソッド
ToString()
画像タイプの文字列表現を作成します。
宣言
public override string ToString()
例外
| 型 | 条件 |
|---|---|
| IC4Exception | 詳細については ErrorCode および ToString() を確認してください。 |


