[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.ImageEncoder

Class ImageEncoder

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

IWICImageEncoder

[Guid("04C75BF8-3CE1-473B-ACC5-3CC4F5E94999")]
public class ImageEncoder : ComObject, IDisposable, IUnknown
Inheritance
object
ImageEncoder
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

ImageEncoder(IntPtr)

Initializes a new instance of the ImageEncoder class.

public ImageEncoder(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(ImagingFactory2, Device)

Creates a new image encoder object.

public static ImageEncoder Create(ImagingFactory2 factory, Device d2dDevice)

Parameters

factory ImagingFactory2

The WIC factory.

d2dDevice Device

The Device object on which the corresponding image encoder is created.

Returns

ImageEncoder

WriteFrame(Image, BitmapFrameEncode, ImageParameters)

HRESULT IWICImageEncoder::WriteFrame([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)

public void WriteFrame(Image imageRef, BitmapFrameEncode frameEncodeRef, ImageParameters imageParametersRef)

Parameters

imageRef Image
frameEncodeRef BitmapFrameEncode
imageParametersRef ImageParameters

WriteFrame(Image, BitmapFrameEncode)

HRESULT IWICImageEncoder::WriteFrame([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)

public void WriteFrame(Image imageRef, BitmapFrameEncode frameEncodeRef)

Parameters

imageRef Image
frameEncodeRef BitmapFrameEncode

WriteFrameThumbnail(Image, BitmapFrameEncode, ImageParameters)

HRESULT IWICImageEncoder::WriteFrameThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)

public void WriteFrameThumbnail(Image imageRef, BitmapFrameEncode frameEncodeRef, ImageParameters imageParametersRef)

Parameters

imageRef Image
frameEncodeRef BitmapFrameEncode
imageParametersRef ImageParameters

WriteFrameThumbnail(Image, BitmapFrameEncode)

HRESULT IWICImageEncoder::WriteFrameThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapFrameEncode* pFrameEncode,[In, Value] const WICImageParameters* pImageParameters)

public void WriteFrameThumbnail(Image imageRef, BitmapFrameEncode frameEncodeRef)

Parameters

imageRef Image
frameEncodeRef BitmapFrameEncode

WriteThumbnail(Image, BitmapEncoder, ImageParameters)

HRESULT IWICImageEncoder::WriteThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapEncoder* pEncoder,[In, Value] const WICImageParameters* pImageParameters)

public void WriteThumbnail(Image imageRef, BitmapEncoder encoderRef, ImageParameters imageParametersRef)

Parameters

imageRef Image
encoderRef BitmapEncoder
imageParametersRef ImageParameters

WriteThumbnail(Image, BitmapEncoder)

HRESULT IWICImageEncoder::WriteThumbnail([In] ID2D1Image* pImage,[In] IWICBitmapEncoder* pEncoder,[In, Value] const WICImageParameters* pImageParameters)

public void WriteThumbnail(Image imageRef, BitmapEncoder encoderRef)

Parameters

imageRef Image
encoderRef BitmapEncoder

Operators

explicit operator ImageEncoder(IntPtr)

Performs an explicit conversion from System.IntPtr to ImageEncoder.

public static explicit operator ImageEncoder(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ImageEncoder