public class PDFSignatureField extends Object implements Serializable
Constructor and Description |
---|
PDFSignatureField()
A default constructer that creates a
PDFSignatureField object |
PDFSignatureField(String name,
boolean isSigned,
boolean isVisible,
PDFSignatureType type) |
PDFSignatureField(String name,
boolean isSigned,
boolean isVisible,
PDFSignatureType type,
PDFSignatureFieldProperties pdfSignatureFieldProperties)
A constructor that creates a
PDFSignatureField object. |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Specifies the name of the signature field.
|
PDFSignatureFieldProperties |
getProperties()
Gets a
PDFSignatureFieldProperties object that specifies the PDF signature field
properties of the signature field. |
PDFSignatureType |
getType()
Returns a
PDFSignatureType object that specifies the type of signature field. |
boolean |
isSigned()
Specifies whether the signature field is signed or certified.
|
boolean |
isVisible()
Specifies whether the signature field is visible.
|
void |
setName(String name)
Sets the name of the signature field.
|
void |
setProperties(PDFSignatureFieldProperties pdfSignatureFieldProperties)
Sets the
PDFSignatureFieldProperties object that specifies the PDF signature field
properties of the signature field. |
void |
setSigned(boolean isSigned)
Sets whether the signature field is signed.
|
void |
setType(PDFSignatureType type)
Sets the type of signature field.
|
void |
setVisible(boolean isVisible)
Sets whether the signature field is visible.
|
String |
toString() |
public PDFSignatureField(String name, boolean isSigned, boolean isVisible, PDFSignatureType type, PDFSignatureFieldProperties pdfSignatureFieldProperties)
PDFSignatureField
object.name
- The name of the signature field. The fully qualified name of the signature field should be specified.
If you are signing a PDF document that is based on an XFA form, then the partial name of the signature field can also
be used. For example, form1[0].#subform[1].SignatureField3[3]
can be specified as SignatureField3[3]
.isSigned
- A Boolean value that specifies whether the signature field is signed.isVisible
- A Boolean value that specifies whether the signature field is visible.type
- A PDFSignatureType
object that specifies the type of signature field.public PDFSignatureField()
PDFSignatureField
objectpublic PDFSignatureField(String name, boolean isSigned, boolean isVisible, PDFSignatureType type)
name
- The name of the signature field. The fully qualified name of the signature field should be specified.
If you are signing a PDF document that is based on an XFA form, then the partial name of the signature field can also
be used. For example, form1[0].#subform[1].SignatureField3[3]
can be specified as SignatureField3[3]
.isSigned
- A Boolean value that specifies whether the signature field is signed.isVisible
- A Boolean value that specifies whether the signature field is visible.type
- A PDFSignatureType
object that specifies the type of signature field.public boolean isSigned()
public void setSigned(boolean isSigned)
isSigned
- A Boolean value that specifies whether the signature field is signed.public boolean isVisible()
public void setVisible(boolean isVisible)
isVisible
- A Booelan value that specifies whether the signature field is visible.public String getName()
public void setName(String name)
name
- The name of the signature field.public PDFSignatureType getType()
PDFSignatureType
object that specifies the type of signature field.PDFSignatureType
object that specifies the type of signature field.public void setType(PDFSignatureType type)
type
- A PDFSignatureType
object that specifies the type of signature field.public PDFSignatureFieldProperties getProperties()
PDFSignatureFieldProperties
object that specifies the PDF signature field
properties of the signature field.
returns A PDFSignatureFieldProperties
object that specifies the PDF signature field
properties of the signature field.public void setProperties(PDFSignatureFieldProperties pdfSignatureFieldProperties)
PDFSignatureFieldProperties
object that specifies the PDF signature field
properties of the signature field.pdfSignatureFieldProperties
- A PDFSignatureFieldProperties
object that specifies the PDF signature
field properties of the signature field.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.