Package com.pdftools.pdf
Class SignatureField
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.pdf.SignatureField
-
- Direct Known Subclasses:
SignedSignatureField
,UnsignedSignatureField
public abstract class SignatureField extends NativeObject
A digital signature field
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle
getBoundingBox()
The location on the page (Getter)java.lang.String
getFieldName()
The name of the signature field (Getter)int
getPageNumber()
The number of the page where this signature is located (Getter)-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getFieldName
public java.lang.String getFieldName()
The name of the signature field (Getter)
The field name uniquely identifies the signature field within the document.- Throws:
java.lang.IllegalStateException
- If the object has already been closed
-
getPageNumber
public int getPageNumber() throws NotFoundException
The number of the page where this signature is located (Getter)
Whether the signature field has a visual appearance on that page is indicated by thegetBoundingBox()
.- Throws:
java.lang.IllegalStateException
- If the object has already been closed.NotFoundException
- If the field is not properly linked to a page.
-
getBoundingBox
public Rectangle getBoundingBox()
The location on the page (Getter)
The location of the signature field on the page. Ornull
if the signature field has no visual appearance.- Throws:
java.lang.IllegalStateException
- If the object has already been closed
-
-