Imaging クラス

定義

イメージ オブジェクトの作成に対するマネージドとアンマネージドの相互運用サポートを提供します。

public ref class Imaging abstract sealed
public static class Imaging
type Imaging = class
Public Class Imaging
継承
Imaging

注釈

このクラスは、WPF BitmapSourceのプライマリ ビットマップ イメージング クラスの作成メカニズムを提供します。 これには、Microsoft Windows グラフィックス デバイス インターフェイス (GDI) オブジェクト、およびメモリ セクションに基づいて を作成BitmapSourceするメソッドが含まれます。

メソッド

CreateBitmapSourceFromHBitmap(IntPtr, IntPtr, Int32Rect, BitmapSizeOptions)

指定されたアンマネージド ビットマップへのポインターとパレット情報に基づいて、マネージド BitmapSource を返します。

CreateBitmapSourceFromHIcon(IntPtr, Int32Rect, BitmapSizeOptions)

指定されたアンマネージド アイコン イメージへのポインターに基づいて、マネージド BitmapSource を返します。

CreateBitmapSourceFromMemorySection(IntPtr, Int32, Int32, PixelFormat, Int32, Int32)

提供されたアンマネージド メモリの場所に基づいて、マネージド BitmapSource を返します。

適用対象

こちらもご覧ください