public class CPDFStampAttr
extends java.lang.Object
The attribute used when creating Stamp annotation
Modifier and Type | Method and Description |
---|---|
CPDFStampAnnotation.DigitalStamp |
getDigitalStamp()
Gets the digital Stamp attribute of Stamp annotation
|
java.lang.String |
getImagePath()
Gets the image path of image Stamp
|
CPDFStampAnnotation.StampType |
getStampType()
Gets the type of stamp annotation
|
CPDFStampAnnotation.StandardStamp |
getStandardStamp()
Gets the standard attribute of Stamp annotation, more:
CPDFStampAnnotation.StandardStamp |
CPDFStampAnnotation.TextStamp |
getTextStamp()
Gets the text Stamp attribute of Stamp annotation
|
boolean |
isSignature()
Gets whether Stamp annotation is signature by default.
|
void |
setDigitalStamp(CPDFStampAnnotation.DigitalStamp digitalStamp)
Sets the digital Stamp attribute of Stamp annotation
|
void |
setImagePath(java.lang.String imagePath,
boolean isSignature)
Sets the image path of image Stamp
|
void |
setStandardStamp(CPDFStampAnnotation.StandardStamp standardStamp)
Sets the standard attribute of Stamp annotation
|
void |
setTextStamp(CPDFStampAnnotation.TextStamp textStamp)
Sets the text Stamp attribute of Stamp annotation
|
public CPDFStampAnnotation.StampType getStampType()
public CPDFStampAnnotation.StandardStamp getStandardStamp()
CPDFStampAnnotation.StandardStamp
public void setStandardStamp(CPDFStampAnnotation.StandardStamp standardStamp)
standardStamp
- Standard attribute of Stamppublic CPDFStampAnnotation.TextStamp getTextStamp()
public void setTextStamp(CPDFStampAnnotation.TextStamp textStamp)
textStamp
- Text Stamp attributepublic CPDFStampAnnotation.DigitalStamp getDigitalStamp()
public void setDigitalStamp(CPDFStampAnnotation.DigitalStamp digitalStamp)
digitalStamp
- Digital Stamp attributepublic java.lang.String getImagePath()
public void setImagePath(java.lang.String imagePath, boolean isSignature)
imagePath
- Image pathisSignature
- Whether it is signature.public boolean isSignature()