public class SlidesSignTextOptions extends SignTextOptions implements IOpacity, ITextAlignment
Represents the Text Signature Options for Slides Documents.
Constructor and Description |
---|
SlidesSignTextOptions()
Initializes a new instance of the SlidesSignTextOptions class with default values.
|
SlidesSignTextOptions(String text)
Initializes a new instance of the SlidesSignTextOptions 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)).
|
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.
|
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 |
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 |
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 SlidesSignTextOptions()
Initializes a new instance of the SlidesSignTextOptions class with default values.
public SlidesSignTextOptions(String text)
Initializes a new instance of the SlidesSignTextOptions class with text.
text
- Signature text.public 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 RadialGradientBrush is not applicable, it is replaced by LinearGradientBrush. It is not used for Watermark implementation.
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 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 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.
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 RadialGradientBrush is not applicable, it is replaced by LinearGradientBrush. It is not used for Watermark implementation.
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 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 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.
setTextVerticalAlignment
in interface ITextAlignment
Copyright © 2019. All rights reserved.