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
| Constructor | Description |
|---|---|
| PopupAnnotation | Constructor. for using in Generator. |
| PopupAnnotation | Creates new Popup annotation on the specified page. |
Methods
| Method | Description |
|---|---|
| accept | Accepts visitor object to process the annotation. |
| getAnnotationType | Gets type of annotation. |
| getOpen | Gets a flag specifying whether the pop-up annotation should initially be displayed open. |
| 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. |
| setOpen | Sets a flag specifying whether the pop-up annotation should initially be displayed open. |
| 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. |
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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean 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.