public class CellsSignTextOptions extends SignTextOptions implements IOpacity
Represents the Text Signature Options for Cells Documents.
Constructor and Description |
---|
CellsSignTextOptions()
Initializes a new instance of the CellsSignTextOptions class with default values.
|
CellsSignTextOptions(String text)
Initializes a new instance of the CellsSignTextOptions 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)).
|
boolean |
getBorderVisiblity()
Gets or sets the signature border visibility.
|
double |
getBorderWeight()
Gets or sets the weight of the signature border.
|
int |
getColumnNumber()
Gets or sets the left column number of signature (min value is 0).
|
int |
getDocumentPageNumber()
Gets or sets worksheet number for signing.
|
Padding |
getMargin()
Gets or sets the space between Sign and worksheet edges.
|
double |
getOpacity()
Get or set Signature Opacity.
|
int |
getRowNumber()
Gets or sets the top row number of signature (min value is 0).
|
int |
getShapeType()
Gets or sets the type of shape to put text.
|
int |
getSheetNumber()
Gets or sets worksheet number for signing.
|
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 |
setBorderVisiblity(boolean value)
Gets or sets the signature border visibility.
|
void |
setBorderWeight(double value)
Gets or sets the weight of the signature border.
|
void |
setColumnNumber(int value)
Gets or sets the left column number of signature (min value is 0).
|
void |
setDocumentPageNumber(int value)
Gets or sets worksheet number for signing.
|
void |
setMargin(Padding value)
Gets or sets the space between Sign and worksheet edges.
|
void |
setOpacity(double value)
Get or set Signature Opacity.
|
void |
setRowNumber(int value)
Gets or sets the top row number of signature (min value is 0).
|
void |
setShapeType(int value)
Gets or sets the type of shape to put text.
|
void |
setSheetNumber(int value)
Gets or sets worksheet number for signing.
|
void |
setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
|
getBackgroundColor, getBorderColor, getFont, getForeColor, getHeight, getHorizontalAlignment, getImageHelper, getLeft, getLocationMeasureType, getMarginMeasureType, getRotationAngle, getSignAllPages, getSizeMeasureType, getStretch, getText, getTop, getVerticalAlignment, getWidth, setBackgroundColor, setBorderColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setStretch, setText, setTop, setVerticalAlignment, setWidth, toString
getAppearance, getExtensions, getPagesSetup, isRotationChanged, setAppearance, setPagesSetup, setRotationChanged
public CellsSignTextOptions()
Initializes a new instance of the CellsSignTextOptions class with default values.
public CellsSignTextOptions(String text)
Initializes a new instance of the CellsSignTextOptions 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 boolean getBorderVisiblity()
Gets or sets the signature border visibility.
public double getBorderWeight()
Gets or sets the weight of the signature border.
public int getColumnNumber()
Gets or sets the left column number of signature (min value is 0).
public int getDocumentPageNumber()
Gets or sets worksheet number for signing. Minimal value is 1.
getDocumentPageNumber
in class SignOptions
public Padding getMargin()
Gets or sets the space between Sign and worksheet edges. (works ONLY if horizontal or vertical alignment are specified).
getMargin
in interface IAlignment
getMargin
in class SignTextOptions
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 getRowNumber()
Gets or sets the top row number of signature (min value is 0).
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 getSheetNumber()
Gets or sets worksheet number for signing.
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 setBorderVisiblity(boolean value)
Gets or sets the signature border visibility.
public void setBorderWeight(double value)
Gets or sets the weight of the signature border.
public void setColumnNumber(int value)
Gets or sets the left column number of signature (min value is 0).
public void setDocumentPageNumber(int value)
Gets or sets worksheet number for signing. Minimal value is 1.
setDocumentPageNumber
in class SignOptions
public void setMargin(Padding value)
Gets or sets the space between Sign and worksheet edges. (works ONLY if horizontal or vertical alignment are specified).
setMargin
in interface IAlignment
setMargin
in class SignTextOptions
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 setRowNumber(int value)
Gets or sets the top row number of signature (min value is 0).
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 setSheetNumber(int value)
Gets or sets worksheet number for signing.
public void setSignatureImplementation(int value)
Gets or sets the type of text signature implementation.
Copyright © 2018. All rights reserved.