Imaging 類別

定義

提供 Managed 到 Unmanaged 的互通支援,以便建立影像物件。

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

備註

這個類別提供 WPF 中主要點陣圖影像處理類別的建立機制。 BitmapSource 這包括根據 Microsoft Windows Graphics Device Interface (GDI) 物件和記憶體區段建立 BitmapSource 的方法。

方法

CreateBitmapSourceFromHBitmap(IntPtr, IntPtr, Int32Rect, BitmapSizeOptions)

根據所提供之 Unmanaged 點陣圖和調色盤資訊的指標,傳回 Managed BitmapSource

CreateBitmapSourceFromHIcon(IntPtr, Int32Rect, BitmapSizeOptions)

根據所提供之 Unmanaged 圖示影像的指標,傳回 Managed BitmapSource

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

根據所提供的 Unmanaged 記憶體位置,傳回 Managed BitmapSource

適用於

另請參閱