[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.PlanarFormatConverter

Class PlanarFormatConverter

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

IWICPlanarFormatConverter

[Guid("BEBEE9CB-83B0-4DCC-8132-B0AAA55EAC96")]
public class PlanarFormatConverter : BitmapSource, IDisposable, IUnknown
Inheritance
PlanarFormatConverter
Implements
Inherited Members

Constructors

PlanarFormatConverter(IntPtr)

Initializes a new instance of the PlanarFormatConverter class.

public PlanarFormatConverter(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Methods

CanConvert(Guid[], int, Guid)

HRESULT IWICPlanarFormatConverter::CanConvert([In, Buffer] const GUID* pSrcPixelFormats,[In] unsigned int cSrcPlanes,[In] const GUID& dstPixelFormat,[Out] BOOL* pfCanConvert)

public bool CanConvert(Guid[] srcPixelFormatsRef, int srcPlanes, Guid dstPixelFormat)

Parameters

srcPixelFormatsRef Guid[]
srcPlanes int
dstPixelFormat Guid

Returns

bool

Initialize(ComArray<BitmapSource>, int, Guid, BitmapDitherType, Palette, double, BitmapPaletteType)

HRESULT IWICPlanarFormatConverter::Initialize([In, Buffer] IWICBitmapSource** ppPlanes,[In] unsigned int cPlanes,[In] const GUID& dstFormat,[In] WICBitmapDitherType dither,[In, Optional] IWICPalette* pIPalette,[In] double alphaThresholdPercent,[In] WICBitmapPaletteType paletteTranslate)

public void Initialize(ComArray<BitmapSource> planesOut, int planes, Guid dstFormat, BitmapDitherType dither, Palette paletteRef, double alphaThresholdPercent, BitmapPaletteType paletteTranslate)

Parameters

planesOut ComArray<BitmapSource>
planes int
dstFormat Guid
dither BitmapDitherType
paletteRef Palette
alphaThresholdPercent double
paletteTranslate BitmapPaletteType

Initialize(BitmapSource[], int, Guid, BitmapDitherType, Palette, double, BitmapPaletteType)

HRESULT IWICPlanarFormatConverter::Initialize([In, Buffer] IWICBitmapSource** ppPlanes,[In] unsigned int cPlanes,[In] const GUID& dstFormat,[In] WICBitmapDitherType dither,[In, Optional] IWICPalette* pIPalette,[In] double alphaThresholdPercent,[In] WICBitmapPaletteType paletteTranslate)

public void Initialize(BitmapSource[] planesOut, int planes, Guid dstFormat, BitmapDitherType dither, Palette paletteRef, double alphaThresholdPercent, BitmapPaletteType paletteTranslate)

Parameters

planesOut BitmapSource[]
planes int
dstFormat Guid
dither BitmapDitherType
paletteRef Palette
alphaThresholdPercent double
paletteTranslate BitmapPaletteType

Operators

explicit operator PlanarFormatConverter(IntPtr)

Performs an explicit conversion from IntPtr to PlanarFormatConverter.

public static explicit operator PlanarFormatConverter(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

PlanarFormatConverter