public class SignatureFieldOptions extends NativeObject
Signer.addSignatureField(com.pdftools.pdf.Document, com.pdftools.sign.SignatureFieldOptions, com.pdftools.sys.Stream)
.Constructor | Description |
---|---|
SignatureFieldOptions(Appearance boundingBox) |
Modifier and Type | Method | Description |
---|---|---|
Appearance |
getBoundingBox() |
The bounding box of the signature field (Getter)
|
java.lang.String |
getFieldName() |
The name of the new signature field (Getter)
|
void |
setFieldName(java.lang.String value) |
The name of the new signature field (Setter)
|
equals, hashCode
public SignatureFieldOptions(Appearance boundingBox)
boundingBox
- The bounding box of the signature fieldjava.lang.IllegalArgumentException
- If the {@link com.pdftools.sign.SignatureFieldOptions# boundingBox} argument is null
or not a valid bounding boxjava.lang.IllegalArgumentException
- if boundingBox
is null
public Appearance getBoundingBox()
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.
public java.lang.String getFieldName()
If null
, a new signature field is created using a unique field name.
Default: null
public void setFieldName(java.lang.String value)
If null
, a new signature field is created using a unique field name.
Default: null