PopupAnnotation

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

All Implemented Interfaces: com.aspose.ms.System.ICloneable

public final class PopupAnnotation extends Annotation

Represents the pop-up annotation that displays text in a pop-up window for entry and editing.

Constructors

ConstructorDescription
PopupAnnotationConstructor. for using in Generator.
PopupAnnotationCreates new Popup annotation on the specified page.

Methods

MethodDescription
acceptAccepts visitor object to process the annotation.
getAnnotationTypeGets type of annotation.
getOpenGets a flag specifying whether the pop-up annotation should initially be displayed open.
getParentGets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation’s Contents, M, C, and T entries shall override those of the pop-up annotation itself.
setOpenSets a flag specifying whether the pop-up annotation should initially be displayed open.
setParentSets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation’s Contents, M, C, and T entries shall override those of the pop-up annotation itself.

PopupAnnotation

Constructor. for using in Generator.

PopupAnnotation

Creates new Popup annotation on the specified page.

accept

Accepts visitor object to process the annotation.

getAnnotationType

public AnnotationType getAnnotationType()

Gets type of annotation.

Returns: AnnotationType element @see AnnotationType

getOpen

public boolean getOpen()

Gets a flag specifying whether the pop-up annotation should initially be displayed open.

Returns: boolean value

getParent

public Annotation getParent()

Gets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation’s Contents, M, C, and T entries shall override those of the pop-up annotation itself.

Returns: MarkupAnnotation object

setOpen

public void setOpen(boolean value)

Sets a flag specifying whether the pop-up annotation should initially be displayed open.

Parameters:

ParameterTypeDescription
valueboolean value

setParent

Sets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation’s Contents, M, C, and T entries shall override those of the pop-up annotation itself.