[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.SaveAsImageOptions.DrawAnnotationFilterCallback

Delegate SaveAsImageOptions.DrawAnnotationFilterCallback

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

Represents a delegate that defines the method signature for deciding which annotations to draw. DrawAnnotationFilter.

public delegate void SaveAsImageOptions.DrawAnnotationFilterCallback(GcPdfDocument doc, Page page, AnnotationBase annotation, ref bool drawAnnotation)

Parameters

doc GcPdfDocument

The document that owns the annotation.

page Page

The current page.

annotation AnnotationBase

The annotation to test.

drawAnnotation bool

IN/OUT: Indicates whether to draw the current annotation.

Constructors

DrawAnnotationFilterCallback(object, IntPtr)

public DrawAnnotationFilterCallback(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(GcPdfDocument, Page, AnnotationBase, ref bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(GcPdfDocument doc, Page page, AnnotationBase annotation, ref bool drawAnnotation, AsyncCallback callback, object @object)

Parameters

doc GcPdfDocument
page Page
annotation AnnotationBase
drawAnnotation bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref bool, IAsyncResult)

public virtual void EndInvoke(ref bool drawAnnotation, IAsyncResult result)

Parameters

drawAnnotation bool
result IAsyncResult

Invoke(GcPdfDocument, Page, AnnotationBase, ref bool)

public virtual void Invoke(GcPdfDocument doc, Page page, AnnotationBase annotation, ref bool drawAnnotation)

Parameters

doc GcPdfDocument
page Page
annotation AnnotationBase
drawAnnotation bool