public class WordsSignTextOptions extends SignTextOptions implements IOpacity
Represents the Text Signature Options for Words Documents.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_OPACITY |
DEFAULT_BKGR_COLOR, DEFAULT_FORE_COLOR
DEFAULT_PPM, imageBorderData
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 |
getBackgroundOpacity()
Gets the signature background opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
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 |
getBorderOpacity()
Gets the signature border opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
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.
|
int |
getDocumentPart()
Deprecated.
|
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()
Get or set Signature Opacity.
|
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 |
setDocumentPart(int 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)
Get or set Signature Opacity.
|
void |
setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
|
getBackgroundColor, getBackgroundColorInternal, getBorderColor, getBorderColorInternal, getFont, getForeColor, getForeColorInternal, getHeight, getHorizontalAlignment, getImageHelper, getImageStream, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSignPages, getSizeMeasureType, getText, getTop, getVerticalAlignment, getWidth, isHorizontalAlignmentSet, isVerticalAlignmentSet, release, setBackgroundColor, setBorderColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setText, setTop, setVerticalAlignment, setWidth, toString, validate
getAppearance, getDocumentPageNumber, getDocumentPPM, getPagesSetup, getPropertyOrDefault, getPropertyOrDefault, getSignatureConfig, getSignPagesQueue, getSpecificRectangle, isRotationChanged, onError, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged, setSignatureConfig, setSpecificRectangle
public static final double DEFAULT_OPACITY
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 text@Deprecated public int getDocumentPart()
Gets or sets the part of document to put sign.
@Deprecated public void setDocumentPart(int value)
Gets or sets the part of document to put sign.
public int getBorderDashStyle()
Gets or sets the signature border style.
public void setBorderDashStyle(int value)
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 void setBorderTransparency(double value)
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 void setBorderWeight(double value)
Gets or sets the weight of the signature border.
public double getBackgroundTransparency()
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
public void setBackgroundTransparency(double value)
Gets or sets the signature background transparency (value from 0.0 (opaque) through 1.0 (clear)).
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 WordsTextSignatureImplementation = 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 WordsTextSignatureImplementation = 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 WordsTextSignatureImplementation = 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 WordsTextSignatureImplementation = 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 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 com.groupdocs.signature.domain.ImageBorderData getImageBorder()
Gets image border data.
getImageBorder
in class SignOptions
public double getBorderOpacity()
Gets the signature border opacity (value from 0.0 (clear) through 1.0 (opaque)).
public double getBackgroundOpacity()
Gets the signature background opacity (value from 0.0 (clear) through 1.0 (opaque)).
Copyright © 2017. All rights reserved.