Package com.pdftools.sign
Class SignatureFieldOptions
java.lang.Object
com.pdftools.internal.NativeBase
com.pdftools.internal.NativeObject
com.pdftools.sign.SignatureFieldOptions
Options for adding unsigned signature fields
These options control the creation of unsigned signature fields inSigner.addSignatureField(com.pdftools.pdf.Document, com.pdftools.sign.SignatureFieldOptions, com.pdftools.sys.Stream).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bounding box of the signature field (Getter)The name of the new signature field (Getter)voidsetFieldName(String value) The name of the new signature field (Setter)Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Constructor Details
-
SignatureFieldOptions
- Parameters:
boundingBox- The bounding box of the signature field- Throws:
IllegalArgumentException- If theboundingBox} argument isinvalid @link
{@link com.pdftools.sign.SignatureFieldOptions#nullor not a valid bounding boxIllegalArgumentException- ifboundingBoxisnull
-
-
Method Details
-
getBoundingBox
The bounding box of the signature field (Getter)
The bounding box is the area where the visual appearance of the signature is inserted, when the signature field is signed.
Use
Appearance.createFieldBoundingBox(com.pdftools.geometry.units.Size)to create the bounding box object. -
getFieldName
The name of the new signature field (Getter)
If
null, a new signature field is created using a unique field name.Default:
null -
setFieldName
The name of the new signature field (Setter)
If
null, a new signature field is created using a unique field name.Default:
null
-