[]
IWICPlanarFormatConverter
[Guid("BEBEE9CB-83B0-4DCC-8132-B0AAA55EAC96")]
public class PlanarFormatConverter : BitmapSource, IDisposable, IUnknown
Initializes a new instance of the PlanarFormatConverter class.
public PlanarFormatConverter(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
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)
srcPixelFormatsRef
System.Guid[]srcPlanes
intdstPixelFormat
System.GuidHRESULT 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)
planesOut
ComArray<BitmapSource>planes
intdstFormat
System.Guiddither
BitmapDitherTypepaletteRef
PalettealphaThresholdPercent
doublepaletteTranslate
BitmapPaletteTypeHRESULT 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)
planesOut
BitmapSource[]planes
intdstFormat
System.Guiddither
BitmapDitherTypepaletteRef
PalettealphaThresholdPercent
doublepaletteTranslate
BitmapPaletteTypePerforms an explicit conversion from System.IntPtr to PlanarFormatConverter.
public static explicit operator PlanarFormatConverter(IntPtr nativePointer)
nativePointer
System.IntPtr