public class WordsSignTextOptions extends SignTextOptions implements IOpacity
Represents the Text Signature Options for Words Documents.
Constructor and Description |
---|
WordsSignTextOptions()
Initializes a new instance of the WordsSignTextOptions class with default values.
|
WordsSignTextOptions(String text)
Initializes a new instance of the WordsSignTextOptions class with text.
|
Modifier and Type | Method and Description |
---|---|
double |
getBackgroundTransparency()
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
|
int |
getBorderDashStyle()
Gets or sets the signature border style.
|
double |
getBorderTransparency()
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
|
double |
getBorderWeight()
Gets or sets the weight of the signature border.
|
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()
Get or set Signature Opacity.
|
int |
getShapeType()
Gets or sets the type of shape to put text.
|
int |
getSignatureImplementation()
Gets or sets the type of text signature implementation.
|
void |
setBackgroundTransparency(double value)
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
|
void |
setBorderDashStyle(int value)
Gets or sets the signature border style.
|
void |
setBorderTransparency(double value)
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
|
void |
setBorderWeight(double value)
Gets or sets the weight of the signature border.
|
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)
Get or set Signature Opacity.
|
void |
setShapeType(int value)
Gets or sets the type of shape to put text.
|
void |
setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
|
getBackgroundColor, getBorderColor, getFont, getForeColor, getHeight, getHorizontalAlignment, getImageHelper, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSizeMeasureType, getStretch, getText, getTop, getVerticalAlignment, getWidth, setBackgroundColor, setBorderColor, 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 WordsSignTextOptions()
Initializes a new instance of the WordsSignTextOptions class with default values.
public WordsSignTextOptions(String text)
Initializes a new instance of the WordsSignTextOptions class with text.
text
- Signature textpublic double getBackgroundTransparency()
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
public int getBorderDashStyle()
Gets or sets the signature border style.
public double getBorderTransparency()
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
public double getBorderWeight()
Gets or sets the weight of the signature border.
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 SignatureImplementation = 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 SignatureImplementation = TextToFormField. Value by default is AllTextTypes.
public double getOpacity()
Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency
getOpacity
in interface IOpacity
public int getShapeType()
Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.
public int getSignatureImplementation()
Gets or sets the type of text signature implementation.
public void setBackgroundTransparency(double value)
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
public void setBorderDashStyle(int value)
Gets or sets the signature border style.
public void setBorderTransparency(double value)
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
public void setBorderWeight(double value)
Gets or sets the weight of the signature border.
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 SignatureImplementation = 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 SignatureImplementation = TextToFormField. Value by default is AllTextTypes.
public void setOpacity(double value)
Get or set Signature Opacity. This value should be in range 0 - 1 and it inverts BackgroundTransparency. Opacity = 1 - BackgroundTransparency
setOpacity
in interface IOpacity
public void setShapeType(int value)
Gets or sets the type of shape to put text. This property could be used only with SignatureImplementation = TextStamp. Value by default is Rectangle.
public void setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
Copyright © 2018. All rights reserved.