Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Imaging Class

 

Provides managed to unmanaged interoperation support for creating image objects.

Namespace:   System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Interop.Imaging

Public NotInheritable Class Imaging

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateBitmapSourceFromHBitmap(IntPtr, IntPtr, Int32Rect, BitmapSizeOptions)

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

System_CAPS_pubmethodSystem_CAPS_staticCreateBitmapSourceFromHIcon(IntPtr, Int32Rect, BitmapSizeOptions)

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

System_CAPS_pubmethodSystem_CAPS_staticCreateBitmapSourceFromMemorySection(IntPtr, Int32, Int32, PixelFormat, Int32, Int32)

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft