public final class PageInformationAnnotation extends PrinterMarkAnnotation
Represents a Page Information annotation in a PDF document. This annotation contains the file name, page number, and the date and time of the annotation creation.
This class is primarily used to add metadata to a specific page in the PDF document, which can be useful for tracking and referencing purposes. For instance, it can be used to mark pages during the printing process or to provide additional information about the page when viewing the document.
Constructor and Description |
---|
PageInformationAnnotation(Page page,
Rectangle rect)
Initializes a new instance of the
PageInformationAnnotation class on the given page in the given location. |
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
|
AnnotationType |
getAnnotationType()
Gets type of annotation.
|
addPrinterMarks, addPrinterMarks
changeAfterResize, createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public PageInformationAnnotation(Page page, Rectangle rect)
Initializes a new instance of the PageInformationAnnotation
class on the given page in the given location.
page
- The page with which the annotation will be associated.rect
- The annotation rectangle, defining the location of the annotation on the page.public AnnotationType getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
public void accept(AnnotationSelector visitor)
Accepts visitor for annotation processing.
accept
in class Annotation
visitor
- AnnotationSelector object.Copyright © 2025 Aspose. All Rights Reserved.