[]
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)
doc
GcPdfDocumentThe document that owns the annotation.
page
PageThe current page.
annotation
AnnotationBaseThe annotation to test.
drawAnnotation
boolIN/OUT: Indicates whether to draw the current annotation
.
public DrawAnnotationFilterCallback(object @object, IntPtr method)
public virtual IAsyncResult BeginInvoke(GcPdfDocument doc, Page page, AnnotationBase annotation, ref bool drawAnnotation, AsyncCallback callback, object @object)
doc
GcPdfDocumentpage
Pageannotation
AnnotationBasedrawAnnotation
boolcallback
AsyncCallbackobject
objectpublic virtual void EndInvoke(ref bool drawAnnotation, IAsyncResult result)
drawAnnotation
boolresult
IAsyncResultpublic virtual void Invoke(GcPdfDocument doc, Page page, AnnotationBase annotation, ref bool drawAnnotation)
doc
GcPdfDocumentpage
Pageannotation
AnnotationBasedrawAnnotation
bool