public class PDAnnotationWidget extends PDAnnotation
FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_LOCKED, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINTED, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW| Constructor and Description |
|---|
PDAnnotationWidget() |
PDAnnotationWidget(COSDictionary field) |
| Modifier and Type | Method and Description |
|---|---|
PDAction |
getAction()
Get the action to be performed when this annotation is to be activated.
|
PDAnnotationAdditionalActions |
getActions()
Get the additional actions for this field.
|
PDAppearanceCharacteristicsDictionary |
getAppearanceCharacteristics()
Returns the appearance characteristics dictionary.
|
PDBorderStyleDictionary |
getBorderStyle()
This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line.
|
String |
getHighlightingMode()
Returns the highlighting mode.
|
void |
setAction(PDAction action)
Set the annotation action.
|
void |
setActions(PDAnnotationAdditionalActions actions)
Set the actions of the field.
|
void |
setAppearanceCharacteristics(PDAppearanceCharacteristicsDictionary appearanceCharacteristics)
Sets the appearance characteristics dictionary.
|
void |
setBorderStyle(PDBorderStyleDictionary bs)
This will set the border style dictionary, specifying the width and dash pattern used in drawing the line.
|
void |
setHighlightingMode(String highlightingMode)
Sets the highlighting mode.
|
createAnnotation, createAnnotation, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, getSubtype, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setToggleNoViewequals, getCOSObject, hashCodepublic PDAnnotationWidget()
public PDAnnotationWidget(COSDictionary field)
public String getHighlightingMode()
I
NIOPTP (which is preferred).public void setHighlightingMode(String highlightingMode)
NIOPTP (which is preferred).highlightingMode - the highlighting mode the defined valuespublic PDAppearanceCharacteristicsDictionary getAppearanceCharacteristics()
public void setAppearanceCharacteristics(PDAppearanceCharacteristicsDictionary appearanceCharacteristics)
appearanceCharacteristics - the appearance characteristics dictionarypublic PDAction getAction()
public void setAction(PDAction action)
action - The annotation action.public PDAnnotationAdditionalActions getActions()
public void setActions(PDAnnotationAdditionalActions actions)
actions - The field actions.public void setBorderStyle(PDBorderStyleDictionary bs)
bs - the border style dictionary to set.public PDBorderStyleDictionary getBorderStyle()
Copyright © 2019 sejda. All rights reserved.