Skip to content

AnnotationPolygon interface

Polygon annotations display closed polygons on the page. Such polygons may have any number of vertices connected by straight lines. Polyline annotations are similar to polygons, except that the first and last vertex are not implicitly connected.

AnnotationPolygon::InteriorColor property

Indicates the interior color of the annotation.

AnnotationPolygon::Points property

Indicates the points of the annotation.

Inherited from Annotation

Annotation::Annotation interface

The Annotation interface represents a single annotation on a given page.

To obtain this interface, call the Page.GetFirstAnnotation, Page.GetNextAnnotation, or Page.GetAnnotationCount method.

Annotation::Annotate method

Applies the annotation to the provided canvas. This is the equivalent of calling the Canvas::Annotate method.

Annotation::Appearance property

Contains the appearance streams for the annotation.

Annotation::Border property

Indicates the border style of the annotation.

Annotation::Color property

Indicates the color of the annotation.

Annotation::DateCreated property

Indicates the date the annotation was created.

Annotation::DateModified property

Indicates the date the annotation was last modified.

Annotation::Flags property

Indicates the flags of the annotation.

Annotation::Intent property

String containing a name describing the intent of the markup annotation. Intents allow viewer applications to distinguish between different uses and behaviors of a single markup annotation type. If this entry is not present or its value is the same as the annotation type, the annotation has no explicit intent and should behave in a generic manner in a viewer app.

Annotation::Name property

Indicates the name of the annotation.

Annotation::Opacity property

The constant opacity value to be used in painting the annotation

Annotation::Popup property

Pop-up annotation for entering or editing the text associated with this annotation.

Annotation::Rect property

Indicates the rectangle of the annotation.

Annotation::Replies property

Contains the list of replies to the annotation.

Annotation::Subject property

Text representing a short description of the subject being addressed by the annotation.

Annotation::Text property

String to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation's contents in human-readable form.

Annotation::Type property

Indicates the type of the annotation.