public class ImagesSignTextOptions extends SignTextOptions implements IOpacity, ITextAlignment
Represents the Text Signature Options for Images Documents.
Constructor and Description |
---|
ImagesSignTextOptions()
Initializes a new instance of the ImagesSignTextOptions class with default values.
|
ImagesSignTextOptions(String text)
Initializes a new instance of the ImagesSignTextOptions 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.
|
int |
getDocumentPageNumber()
Gets or sets document page number for signing.
|
double |
getOpacity()
Get or set Signature Opacity.
|
PagesSetup |
getPagesSetup()
Options to specify pages to be signed.
|
boolean |
getSignAllPages()
Put signature on all document pages.
|
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 |
setDocumentPageNumber(int value)
Gets or sets document page number for signing.
|
void |
setOpacity(double value)
Get or set Signature Opacity.
|
void |
setPagesSetup(PagesSetup value)
Options to specify pages to be signed.
|
void |
setSignAllPages(boolean value)
Put signature on all document pages.
|
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, getSizeMeasureType, getStretch, getText, getTop, getVerticalAlignment, getWidth, setBackgroundColor, setBorderColor, setFont, setForeColor, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSizeMeasureType, setStretch, setText, setTop, setVerticalAlignment, setWidth, toString
getAppearance, getExtensions, setAppearance
public ImagesSignTextOptions()
Initializes a new instance of the ImagesSignTextOptions class with default values.
public ImagesSignTextOptions(String text)
Initializes a new instance of the ImagesSignTextOptions 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. 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 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 int getDocumentPageNumber()
Gets or sets document page number for signing. This property can only be used for multi-frames image formats (Tiff). Minimal value is 1.
getDocumentPageNumber
in class SignOptions
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 PagesSetup getPagesSetup()
Options to specify pages to be signed. This property can only be used for multi-frames image formats (Tiff).
getPagesSetup
in class SignOptions
public final boolean getSignAllPages()
Put signature on all document pages. This property can only be used for multi-frames image formats (Tiff).
getSignAllPages
in class SignTextOptions
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. 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 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 void setDocumentPageNumber(int value)
Gets or sets document page number for signing. This property can only be used for multi-frames image formats (Tiff). Minimal value is 1.
setDocumentPageNumber
in class SignOptions
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 setPagesSetup(PagesSetup value)
Options to specify pages to be signed. This property can only be used for multi-frames image formats (Tiff).
setPagesSetup
in class SignOptions
public final void setSignAllPages(boolean value)
Put signature on all document pages. This property can only be used for multi-frames image formats (Tiff).
setSignAllPages
in class SignTextOptions
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.