Imaging Class
Provides managed to unmanaged interoperation support for creating image objects.
Namespace: System.Windows.Interop
Assembly: PresentationCore (in PresentationCore.dll)
The Imaging type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CreateBitmapSourceFromHBitmap | Returns a managed BitmapSource, based on the provided pointer to an unmanaged bitmap and palette information. |
![]() ![]() | CreateBitmapSourceFromHIcon | Returns a managed BitmapSource, based on the provided pointer to an unmanaged icon image. |
![]() ![]() | CreateBitmapSourceFromMemorySection | Returns a managed BitmapSource, based on the provided unmanaged memory location. |
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
