[]
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)
bitmap
GcBitmapThe GcBitmap generated for the page.
pageIndex
intThe index of the page in a document for which the bitmap was generated.
index
intThe index in order, changes from to 0 to the count of pages - 1.
public SaveAsImageDelegate(object @object, IntPtr method)
public virtual IAsyncResult BeginInvoke(GcBitmap bitmap, int pageIndex, int index, AsyncCallback callback, object @object)
bitmap
GcBitmappageIndex
intindex
intcallback
AsyncCallbackobject
objectpublic virtual void EndInvoke(IAsyncResult result)
result
IAsyncResultpublic virtual void Invoke(GcBitmap bitmap, int pageIndex, int index)