[]
        
(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
object
PlanarFormatConverter
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PlanarFormatConverter(IntPtr)

Initializes a new instance of the PlanarFormatConverter class.

public PlanarFormatConverter(IntPtr nativePtr)

Parameters

nativePtr System.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 System.Guid[]
srcPlanes int
dstPixelFormat System.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 System.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 System.Guid
dither BitmapDitherType
paletteRef Palette
alphaThresholdPercent double
paletteTranslate BitmapPaletteType

Operators

explicit operator PlanarFormatConverter(IntPtr)

Performs an explicit conversion from System.IntPtr to PlanarFormatConverter.

public static explicit operator PlanarFormatConverter(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

PlanarFormatConverter