[Visual Basic] Public Function GetImageType() As Boolean
[C#] public bool GetImageType();
パラメーター
- ありません。
戻り値
成功の場合は True 、失敗の場合は False を返します。
解説
LayerNumberプロパティが示すプロパティ(Imageプロパティ もしくはLayer(LayerNumber).Imageプロパティ))のイメージの各種情報を取得します。
成功すると次のプロパティに値が設定されます。
・Imageプロパティが対象の場合
BitCount, Gray, ImageKind, ImageSize, ImageWidthByte, PalletteCount
・Layer(LayerNumber).Imgaeプロパティが対象の場合
Layer(LayerNumber).BitCount,
Layer(LayerNumber).Gray,
Layer(LayerNumber).ImageKind,
Layer(LayerNumber).ImageSize,
Layer(LayerNumber).ImageWidthByte
Layer(LayerNumber).PalletteCount,
このメソッドを実行しなくてもImageプロパティやLayer(LayerNumber).Imgaeプロパティに値が設定された段階で各種情報は自動的に設定されます。
設定されるプロパティについては、各プロパティの説明を参照してください。
参照
ImageKit メンバ | Newtone.ImageKit.WPF.ImageKit