[]
        
(Showing Draft Content)

C1.Util.DX.WIC.BitmapSource

BitmapSource Class

IWICBitmapSource

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

Constructors

Name Description
BitmapSource(IntPtr)

Initializes a new instance of the BitmapSource class.

Properties

Name Description
Size

Retrieves the pixel width and height of the bitmap.

Methods

Name Description
CopyPalette(Palette, bool)

HRESULT IWICBitmapSource::CopyPalette([In, Optional] IWICPalette* pIPalette)

CopyPixels(RectL, byte[], int)

Instructs the object to produce pixels.

CopyPixels(RectL, int, DataPointer)

Instructs the object to produce pixels.

CopyPixels(byte[], int)

Instructs the object to produce pixels.

CopyPixels(int, DataPointer)

Instructs the object to produce pixels.

CopyPixels(int, IntPtr, int)

Instructs the object to produce pixels.

CopyPixels(IntPtr, int, int, IntPtr)

HRESULT IWICBitmapSource::CopyPixels([In] const void* prc,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)

CopyPixels<T>(RectL, T[])

Instructs the object to produce pixels.

CopyPixels<T>(T[])

Instructs the object to produce pixels.

GetPixelFormat()

HRESULT IWICBitmapSource::GetPixelFormat([Out] GUID* pPixelFormat)

GetResolution(out double, out double)

HRESULT IWICBitmapSource::GetResolution([Out] double* pDpiX,[Out] double* pDpiY)

GetSize(out int, out int)

HRESULT IWICBitmapSource::GetSize([Out] unsigned int* puiWidth,[Out] unsigned int* puiHeight)

Operators

Name Description
explicit operator BitmapSource(IntPtr)

Performs an explicit conversion from IntPtr to BitmapSource.