[]
IWICImageEncoder
[Guid("04C75BF8-3CE1-473B-ACC5-3CC4F5E94999")]
public class ImageEncoder : ComObject, IDisposable, IUnknown
Initializes a new instance of the ImageEncoder class.
public ImageEncoder(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Creates a new image encoder object.
public static ImageEncoder Create(ImagingFactory2 factory, Device d2dDevice)
factory
ImagingFactory2The WIC factory.
d2dDevice
DeviceThe Device object on which the corresponding image encoder is created.
HRESULT IWICImageEncoder::WriteFrame([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)
public void WriteFrame(Image imageRef, BitmapFrameEncode frameEncodeRef, ImageParameters imageParametersRef)
imageRef
ImageframeEncodeRef
BitmapFrameEncodeimageParametersRef
ImageParametersHRESULT IWICImageEncoder::WriteFrame([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)
public void WriteFrame(Image imageRef, BitmapFrameEncode frameEncodeRef)
imageRef
ImageframeEncodeRef
BitmapFrameEncodeHRESULT IWICImageEncoder::WriteFrameThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)
public void WriteFrameThumbnail(Image imageRef, BitmapFrameEncode frameEncodeRef, ImageParameters imageParametersRef)
imageRef
ImageframeEncodeRef
BitmapFrameEncodeimageParametersRef
ImageParametersHRESULT IWICImageEncoder::WriteFrameThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)
public void WriteFrameThumbnail(Image imageRef, BitmapFrameEncode frameEncodeRef)
imageRef
ImageframeEncodeRef
BitmapFrameEncodeHRESULT IWICImageEncoder::WriteThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapEncoder* pEncoder,[In, Value] const WICImageParameters* pImageParameters)
public void WriteThumbnail(Image imageRef, BitmapEncoder encoderRef, ImageParameters imageParametersRef)
imageRef
ImageencoderRef
BitmapEncoderimageParametersRef
ImageParametersHRESULT IWICImageEncoder::WriteThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapEncoder* pEncoder,[In, Value] const WICImageParameters* pImageParameters)
public void WriteThumbnail(Image imageRef, BitmapEncoder encoderRef)
imageRef
ImageencoderRef
BitmapEncoderPerforms an explicit conversion from System.IntPtr to ImageEncoder.
public static explicit operator ImageEncoder(IntPtr nativePointer)
nativePointer
System.IntPtr