SquigglyAnnotation

Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation, com.aspose.pdf.MarkupAnnotation, com.aspose.pdf.TextMarkupAnnotation

public final class SquigglyAnnotation extends TextMarkupAnnotation

Represents the squiggly annotation that appears as a jagged underline in the text of a document.

Constructors

ConstructorDescription
SquigglyAnnotation(Page page, Rectangle rect)Creates new Squiggly annotation on the specified page.

Methods

MethodDescription
getAnnotationType()Gets type of annotation.
accept(AnnotationSelector visitor)Accepts visitor object to process the annotation.

SquigglyAnnotation(Page page, Rectangle rect)

public SquigglyAnnotation(Page page, Rectangle rect)

Creates new Squiggly annotation on the specified page.

Parameters:

ParameterTypeDescription
pagePageThe document’s page where annotation should be created.
rectRectangleThe annotation rectangle, defining the location of the annotation on the page.

getAnnotationType()

public AnnotationType getAnnotationType()

Gets type of annotation.

Returns: AnnotationType - AnnotationType element

accept(AnnotationSelector visitor)

public void accept(AnnotationSelector visitor)

Accepts visitor object to process the annotation.

Parameters:

ParameterTypeDescription
visitorAnnotationSelectorVisitor object.