Imaging Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk