public class WordsSignTextOptions extends SignTextOptions implements IOpacity, ITextAlignment
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 |
---|---|
Brush |
getBackgroundBrushStyle()
Gets or sets the signature background brush.
|
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.
|
int |
getTextHorizontalAlignment()
Horizontal alignment of text inside a signature.
|
int |
getTextVerticalAlignment()
Vertical alignment of text inside a signature.
|
void |
setBackgroundBrushStyle(Brush value)
Gets or sets the signature background brush.
|
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.
|
void |
setTextHorizontalAlignment(int value)
Horizontal alignment of text inside a signature.
|
void |
setTextVerticalAlignment(int value)
Vertical alignment of text inside a signature.
|
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, setAppearance, setDocumentPageNumber, setPagesSetup
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 Brush getBackgroundBrushStyle()
Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used as SolidBrush. It is not used for TextToFormField and Watermark implementations.
getBackgroundBrushStyle
in class SignTextOptions
public final double getBackgroundTransparency()
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
public final int getBorderDashStyle()
Gets or sets the signature border style.
public final double getBorderTransparency()
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
public final double getBorderWeight()
Gets or sets the weight of the signature border.
public final 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 final 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 final 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 final 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 final int getSignatureImplementation()
Gets or sets the type of text signature implementation.
public final int getTextHorizontalAlignment()
Horizontal alignment of text inside a signature.
getTextHorizontalAlignment
in interface ITextAlignment
public final int getTextVerticalAlignment()
Vertical alignment of text inside a signature.
This feature is supported only for Image signature implementation
(see WordsTextSignatureImplementation
SignatureImplementation property).
getTextVerticalAlignment
in interface ITextAlignment
public void setBackgroundBrushStyle(Brush value)
Gets or sets the signature background brush. Value by default is null. When property has a value it is used instead BackgroundBrush property. For TextStamp implementation LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used as SolidBrush. It is not used for TextToFormField and Watermark implementations.
setBackgroundBrushStyle
in class SignTextOptions
public final void setBackgroundTransparency(double value)
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
public final void setBorderDashStyle(int value)
Gets or sets the signature border style.
public final void setBorderTransparency(double value)
Gets or sets the signature border transparency (value from 0.0 (opaque) through 1.0 (clear)).
public final void setBorderWeight(double value)
Gets or sets the weight of the signature border.
public final 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 final 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 final 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 final 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 final void setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
public final void setTextHorizontalAlignment(int value)
Horizontal alignment of text inside a signature.
setTextHorizontalAlignment
in interface ITextAlignment
public final void setTextVerticalAlignment(int value)
Vertical alignment of text inside a signature.
This feature is supported only for Image signature implementation
(see WordsTextSignatureImplementation
SignatureImplementation property).
setTextVerticalAlignment
in interface ITextAlignment
Copyright © 2019. All rights reserved.