public class PdfSignTextOptions extends SignTextOptions implements IOpacity
Represents the Text Signature Options for PDF Documents.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_OPACITY |
DEFAULT_BKGR_COLOR, DEFAULT_FORE_COLOR
DEFAULT_PPM, imageBorderData
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()
Deprecated.
|
com.aspose.ms.System.Drawing.Color |
getBorderColorInternal() |
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.
|
com.groupdocs.signature.domain.ImageBorderData |
getImageBorder()
Gets image border data.
|
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)
Deprecated.
|
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, getBackgroundColorInternal, getFont, getForeColor, getForeColorInternal, getHeight, getHorizontalAlignment, getImageHelper, getImageStream, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSignPages, getSizeMeasureType, getSpecificRectangle, getText, getTop, getVerticalAlignment, getWidth, isHorizontalAlignmentSet, isVerticalAlignmentSet, release, setBackgroundColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setSpecificRectangle, setText, setTop, setVerticalAlignment, setWidth, toString, validate
getAppearance, getDocumentPageNumber, getDocumentPPM, getPagesSetup, getPropertyOrDefault, getPropertyOrDefault, getSignatureConfig, getSignPagesQueue, isRotationChanged, onError, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged, setSignatureConfig
public static final double DEFAULT_OPACITY
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 signatureleft
- The x-coordinate of the left edge of this Text Signaturetop
- The y-coordinate of the top edge of this Text Signaturewidth
- The width of Text Signatureheight
- The height of Text Signature@Deprecated public Color getBorderColor()
Gets or sets the signature border color.
getBorderColor
in class SignTextOptions
public com.aspose.ms.System.Drawing.Color getBorderColorInternal()
getBorderColorInternal
in class SignTextOptions
@Deprecated public void setBorderColor(Color value)
Gets or sets the signature border color.
setBorderColor
in class SignTextOptions
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
getOpacity
in class SignOptions
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 int getSignatureID()
Gets or sets the unique ID of signature. It can be used in signature verification options.
public void setSignatureID(int value)
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 setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
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 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 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 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 com.groupdocs.signature.domain.ImageBorderData getImageBorder()
Gets image border data.
getImageBorder
in class SignOptions
Copyright © 2017. All rights reserved.