Canvas::Annotate method¶
The Annotate method draws the given annotation onto the current page. The annotation is delivered as a string of JSON text. The schema for Annotations can be found in the Document Filters installation directory in “Annotation-Schema.json”.
Overloads¶
Annotate(string) | Add an annotation from a JSON. |
Annotate(Annotation) | Add an annotation from am object. |
Annotate(string)¶
Prototype¶
void Annotate(string annotation)
void Annotate(string annotation) throws IGRException;
def Annotate(self, annotation: string) -> void
Parameters¶
annotation: string
: JSON representation of an annotation.
Return value¶
void
: void
Annotate(Annotation)¶
Prototype¶
void Annotate(Annotation annotation)
void Annotate(Annotation annotation) throws IGRException;
def Annotate(self, annotation: Annotation) -> void
Parameters¶
annotation
: Annotation
: Object representation of an annotation.
Return value¶
void
: void