[]
        
(Showing Draft Content)

C1.Util.DX.WIC.Bitmap

Bitmap Class

IWICBitmap

Implements
Namespace: C1.Util.DX.WIC
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("00000121-a8f2-4877-ba0a-fd2b6645fb94")]
public class Bitmap : BitmapSource, IDisposable, IUnknown

Constructors

Name Description
Bitmap(IntPtr)

Initializes a new instance of the Bitmap class.

Methods

Name Description
Create(ImagingFactory, BitmapSource, RectL)

Initializes a new instance of the Bitmap class from a BitmapSource.

Create(ImagingFactory, BitmapSource, BitmapCreateCacheOption)

Initializes a new instance of the Bitmap class from a BitmapSource

Create(ImagingFactory, Bitmap, BitmapAlphaChannelOption)

Initializes a new instance of the Bitmap class from a Bitmap.

Create(ImagingFactory, Icon)

Initializes a new instance of the Bitmap class from a Icon.

Create(ImagingFactory, int, int, Guid, DataRectangle, int)

Initializes a new instance of the Bitmap class from a memory location using DataRectangle.

Create(ImagingFactory, int, int, Guid, BitmapCreateCacheOption)

Initializes a new instance of the Bitmap class.

Lock(RectL, BitmapLockFlags)

Provides access to a rectangular area of the bitmap.

Lock(BitmapLockFlags)

Provides access to a rectangular area of the bitmap.

Lock(IntPtr, BitmapLockFlags)

HRESULT IWICBitmap::Lock([In] const void* prcLock,[In] WICBitmapLockFlags flags,[Out] IWICBitmapLock** ppILock)

New<T>(ImagingFactory, int, int, Guid, T[], int)

Initializes a new instance of the Bitmap class from an array of pixel datas.

SetPalette(Palette)

HRESULT IWICBitmap::SetPalette([In, Optional] IWICPalette* pIPalette)

SetResolution(double, double)

HRESULT IWICBitmap::SetResolution([In] double dpiX,[In] double dpiY)

Operators

Name Description
explicit operator Bitmap(IntPtr)

Performs an explicit conversion from IntPtr to Bitmap.