Imaging Class

Definition

Provides managed to unmanaged interoperation support for creating image objects.

public ref class Imaging abstract sealed
public static class Imaging
type Imaging = class
Public Class Imaging
Inheritance
Imaging

Remarks

This class provides creation mechanisms for the primary bitmap imaging class in WPF, BitmapSource. This includes methods that create a BitmapSource based on Microsoft Windows Graphics Device Interface (GDI) objects , and memory sections.

Methods

CreateBitmapSourceFromHBitmap(IntPtr, IntPtr, Int32Rect, BitmapSizeOptions)

Returns a managed BitmapSource, based on the provided pointer to an unmanaged bitmap and palette information.

CreateBitmapSourceFromHIcon(IntPtr, Int32Rect, BitmapSizeOptions)

Returns a managed BitmapSource, based on the provided pointer to an unmanaged icon image.

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

Returns a managed BitmapSource, based on the provided unmanaged memory location.

Applies to

See also