[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.SaveAsImageDelegate

Delegate GcPdfDocument.SaveAsImageDelegate

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Defines the method signature called for each page when SaveAsImage(OutputRange, SaveAsImageOptions, SaveAsImageDelegate) is called.

public delegate void GcPdfDocument.SaveAsImageDelegate(GcBitmap bitmap, int pageIndex, int index)

Parameters

bitmap GcBitmap

The GcBitmap generated for the page.

pageIndex int

The index of the page in a document for which the bitmap was generated.

index int

The index in order, changes from to 0 to the count of pages - 1.

Constructors

SaveAsImageDelegate(object, IntPtr)

public SaveAsImageDelegate(object @object, IntPtr method)

Parameters

object object
method System.IntPtr

Methods

BeginInvoke(GcBitmap, int, int, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(GcBitmap bitmap, int pageIndex, int index, AsyncCallback callback, object @object)

Parameters

bitmap GcBitmap
pageIndex int
index int
callback System.AsyncCallback
object object

Returns

System.IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result System.IAsyncResult

Invoke(GcBitmap, int, int)

public virtual void Invoke(GcBitmap bitmap, int pageIndex, int index)

Parameters

bitmap GcBitmap
pageIndex int
index int