public class PdfSignTextOptions extends SignTextOptions implements IOpacity
Represents the Text Signature Options for PDF Documents.
Constructor and Description |
---|
PdfSignTextOptions()
Initializes a new instance of the PdfSignTextOptions class with default values.
|
PdfSignTextOptions(String text)
Initializes a new instance of the PdfSignTextOptions class with text.
|
PdfSignTextOptions(String text,
int left,
int top,
int width,
int height)
Initializes a new instance of the PdfSignTextOptions class with text and signature area rectangle.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBorderColor()
Gets or sets the signature border color.
|
String |
getFormTextFieldTitle()
Gets or sets the title of text form field to put text signature into it.
|
int |
getFormTextFieldType()
Gets or sets the type of form field to put text signature into it.
|
double |
getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
int |
getSignatureID()
Gets or sets the unique ID of signature.
|
int |
getSignatureImplementation()
Gets or sets the type of text signature implementation.
|
void |
setBorderColor(Color value)
Gets or sets the signature border color.
|
void |
setFormTextFieldTitle(String value)
Gets or sets the title of text form field to put text signature into it.
|
void |
setFormTextFieldType(int value)
Gets or sets the type of form field to put text signature into it.
|
void |
setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
void |
setSignatureID(int value)
Gets or sets the unique ID of signature.
|
void |
setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
|
getBackgroundColor, getFont, getForeColor, getHeight, getHorizontalAlignment, getImageHelper, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSizeMeasureType, getStretch, getText, getTop, getVerticalAlignment, getWidth, setBackgroundColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setStretch, setText, setTop, setVerticalAlignment, setWidth, toString
getAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, isRotationChanged, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged
public PdfSignTextOptions()
Initializes a new instance of the PdfSignTextOptions class with default values.
public PdfSignTextOptions(String text)
Initializes a new instance of the PdfSignTextOptions class with text.
text
- Signature textpublic PdfSignTextOptions(String text, int left, int top, int width, int height)
Initializes a new instance of the PdfSignTextOptions class with text and signature area rectangle.
text
- Text signature.left
- The x-coordinate of the left edge of this Text Signature.top
- The y-coordinate of the top edge of this Text Signature.width
- The width of Text Signature.height
- The height of Text Signature.public Color getBorderColor()
Gets or sets the signature border color.
getBorderColor
in class SignTextOptions
public String getFormTextFieldTitle()
Gets or sets the title of text form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField.
public int getFormTextFieldType()
Gets or sets the type of form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField. Value by default is AllTextTypes.
public double getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.
getOpacity
in interface IOpacity
public int getSignatureID()
Gets or sets the unique ID of signature. It can be used in signature verification options.
public int getSignatureImplementation()
Gets or sets the type of text signature implementation.
public void setBorderColor(Color value)
Gets or sets the signature border color.
setBorderColor
in class SignTextOptions
public void setFormTextFieldTitle(String value)
Gets or sets the title of text form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField.
public void setFormTextFieldType(int value)
Gets or sets the type of form field to put text signature into it. This property could be used only with PdfTextSignatureImplementation = TextToFormField. Value by default is AllTextTypes.
public void setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.
setOpacity
in interface IOpacity
public void setSignatureID(int value)
Gets or sets the unique ID of signature. It can be used in signature verification options.
public void setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
Copyright © 2018. All rights reserved.