public class PdfStampAnnotation extends PdfMarkupAnnotation
inReplyTo, popupAccepted, Canceled, Completed, HIDDEN, HIGHLIGHT_INVERT, HIGHLIGHT_NONE, HIGHLIGHT_OUTLINE, HIGHLIGHT_PUSH, HIGHLIGHT_TOGGLE, INVISIBLE, LOCKED, LOCKED_CONTENTS, Marked, MarkedModel, NO_ROTATE, NO_VIEW, NO_ZOOM, None, page, PRINT, READ_ONLY, Rejected, ReviewModel, STYLE_BEVELED, STYLE_DASHED, STYLE_INSET, STYLE_SOLID, STYLE_UNDERLINE, TOGGLE_NO_VIEW, Unmarked| Modifier | Constructor and Description |
|---|---|
protected |
PdfStampAnnotation(PdfDictionary pdfObject)
Instantiates a new
PdfStampAnnotation instance based on PdfDictionary
instance, that represents existing annotation object in the document. |
|
PdfStampAnnotation(Rectangle rect) |
| Modifier and Type | Method and Description |
|---|---|
PdfName |
getIconName()
The name of an icon that is used in displaying the annotation.
|
PdfNumber |
getRotation()
Gets the rotation angle in degrees.
|
PdfName |
getStampName() |
PdfName |
getSubtype()
Gets a
PdfName which value is a subtype of this annotation. |
PdfStampAnnotation |
setIconName(PdfName name)
The name of an icon that is used in displaying the annotation.
|
PdfStampAnnotation |
setRotation(int degAngle)
Sets the rotation angle in degrees.
|
PdfStampAnnotation |
setStampName(PdfName name) |
getCreationDate, getExternalData, getInReplyTo, getInReplyToObject, getIntent, getOpacity, getPopup, getPopupObject, getReplyType, getRichText, getSubject, getText, setCreationDate, setExternalData, setInReplyTo, setIntent, setOpacity, setPopup, setReplyType, setRichText, setSubject, setTextaddAssociatedFile, flush, getAppearanceDictionary, getAppearanceObject, getAppearanceState, getAssociatedFiles, getBlendMode, getBorder, getColorObject, getContents, getDate, getDownAppearanceObject, getFlags, getLang, getName, getNonStrokingOpacity, getNormalAppearanceObject, getPage, getPageObject, getRectangle, getRolloverAppearanceObject, getStrokingOpacity, getStructParentIndex, getTitle, hasFlag, isWrappedObjectMustBeIndirect, makeAnnotation, put, remove, resetFlag, setAppearance, setAppearance, setAppearanceState, setBlendMode, setBorder, setBorder, setColor, setColor, setColor, setContents, setContents, setDate, setDownAppearance, setDownAppearance, setFlag, setFlags, setLang, setLayer, setName, setNonStrokingOpacity, setNormalAppearance, setNormalAppearance, setPage, setRectangle, setRolloverAppearance, setRolloverAppearance, setStrokingOpacity, setStructParentIndex, setTitleensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic PdfStampAnnotation(Rectangle rect)
protected PdfStampAnnotation(PdfDictionary pdfObject)
PdfStampAnnotation instance based on PdfDictionary
instance, that represents existing annotation object in the document.pdfObject - the PdfDictionary representing annotation objectPdfAnnotation.makeAnnotation(PdfObject)public PdfName getSubtype()
PdfAnnotationPdfName which value is a subtype of this annotation.
See ISO-320001 12.5.6, "Annotation Types" for the reference to the possible types.getSubtype in class PdfAnnotationpublic PdfStampAnnotation setStampName(PdfName name)
public PdfName getStampName()
public PdfName getIconName()
setIconName(PdfName).PdfName that specifies the icon for displaying annotation, or null if icon name is not specified.public PdfNumber getRotation()
PdfNumber representing the clockwise rotation in degrees.public PdfStampAnnotation setIconName(PdfName name)
name - a PdfName that specifies the icon for displaying annotation. Possible values are:
PdfStampAnnotation instance.public PdfStampAnnotation setRotation(int degAngle)
degAngle - an integer representing the clockwise rotation in degrees.PdfStampAnnotation instance.Copyright © 1998–2024 Apryse Group NV. All rights reserved.