public abstract class SignTextOptions extends SignOptions implements IRectangle, IAlignment, IRotation
Represents the Text Signature Options.
Constructor and Description |
---|
SignTextOptions()
Initializes a new instance of the SignTextOptions class with default values.
|
SignTextOptions(String text)
Initializes a new instance of the SignTextOptions class with text.
|
Modifier and Type | Method and Description |
---|---|
Brush |
getBackgroundBrushStyle()
Gets or sets the signature background brush.
|
Color |
getBackgroundColor()
Gets or sets the background color of signature.
|
Color |
getBorderColor()
Gets or sets the border color of signature.
|
SignatureFont |
getFont()
Gets or sets the font of signature.
|
Color |
getForeColor()
Gets or sets the fore color of signature.
|
int |
getHeight()
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType SizeMeasureType property). |
int |
getHorizontalAlignment()
Horizontal alignment of signature on document page.
|
protected com.groupdocs.signature.domain.helpers.ImageHelper |
getImageHelper() |
int |
getLeft()
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType LocationMeasureType property). |
int |
getLocationMeasureType()
Measure type (pixels, percents or millimeters) for Left and Top properties.
|
Padding |
getMargin()
Gets or sets the space between Sign and Document edges.
|
int |
getMarginMeasureType()
Gets or sets the measure type (pixels, percents or millimeters) for Margin.
|
int |
getRotationAngle()
Rotation angle of signature on document page (clockwise).
|
boolean |
getSignAllPages()
Put signature on all document pages.
|
int |
getSizeMeasureType()
Measure type (pixels, percents or millimeters) for Width and Height properties.
|
int |
getStretch()
Stretch mode on Document Page.
|
String |
getText()
Gets or sets the text of signature.
|
int |
getTop()
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType LocationMeasureType property). |
int |
getVerticalAlignment()
Vertical alignment of signature on document page.
|
int |
getWidth()
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType SizeMeasureType property). |
void |
setBackgroundBrushStyle(Brush value)
Gets or sets the signature background brush.
|
void |
setBackgroundColor(Color value)
Gets or sets the background color of signature.
|
void |
setBorderColor(Color value)
Gets or sets the border color of signature.
|
void |
setFont(SignatureFont value)
Gets or sets the font of signature.
|
void |
setForeColor(Color value)
Gets or sets the fore color of signature.
|
void |
setHeight(int value)
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType SizeMeasureType property). |
void |
setHorizontalAlignment(int value)
Horizontal alignment of signature on document page.
|
void |
setLeft(int value)
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType LocationMeasureType property). |
void |
setLocationMeasureType(int value)
Measure type (pixels, percents or millimeters) for Left and Top properties.
|
void |
setMargin(Padding value)
Gets or sets the space between Sign and Document edges.
|
void |
setMarginMeasureType(int value)
Gets or sets the measure type (pixels, percents or millimeters) for Margin.
|
void |
setRotationAngle(int value)
Rotation angle of signature on document page (clockwise).
|
void |
setSignAllPages(boolean value)
Put signature on all document pages.
|
void |
setSizeMeasureType(int value)
Measure type (pixels, percents or millimeters) for Width and Height properties.
|
void |
setStretch(int value)
Stretch mode on Document Page.
|
void |
setText(String value)
Gets or sets the text of signature.
|
void |
setTop(int value)
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType LocationMeasureType property). |
void |
setVerticalAlignment(int value)
Vertical alignment of signature on document page.
|
void |
setWidth(int value)
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters see
MeasureType SizeMeasureType property). |
String |
toString()
Override string conversion.
|
getAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, setAppearance, setDocumentPageNumber, setPagesSetup
public SignTextOptions()
Initializes a new instance of the SignTextOptions class with default values.
public SignTextOptions(String text)
Initializes a new instance of the SignTextOptions class with text.
text
- Signature text.public Brush getBackgroundBrushStyle()
Gets or sets the signature background brush. Value by default is null. If this property has a value it will be used instead BackgroundBrush property.
public Color getBackgroundColor()
Gets or sets the background color of signature.
public Color getBorderColor()
Gets or sets the border color of signature.
public final SignatureFont getFont()
Gets or sets the font of signature.
public Color getForeColor()
Gets or sets the fore color of signature.
public final int getHeight()
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
SizeMeasureType property).
getHeight
in interface IRectangle
public final int getHorizontalAlignment()
Horizontal alignment of signature on document page.
getHorizontalAlignment
in interface IAlignment
protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
public int getLeft()
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
LocationMeasureType property).
(works if horizontal alignment is not specified).
getLeft
in interface IRectangle
public int getLocationMeasureType()
Measure type (pixels, percents or millimeters) for Left and Top properties.
getLocationMeasureType
in interface IRectangle
public Padding getMargin()
Gets or sets the space between Sign and Document edges. (works ONLY if horizontal or vertical alignment are specified).
getMargin
in interface IAlignment
public int getMarginMeasureType()
Gets or sets the measure type (pixels, percents or millimeters) for Margin.
getMarginMeasureType
in interface IAlignment
public final int getRotationAngle()
Rotation angle of signature on document page (clockwise).
getRotationAngle
in interface IRotation
public boolean getSignAllPages()
Put signature on all document pages.
public int getSizeMeasureType()
Measure type (pixels, percents or millimeters) for Width and Height properties.
getSizeMeasureType
in interface IRectangle
public final int getStretch()
Stretch mode on Document Page.
getStretch
in interface IRectangle
public final String getText()
Gets or sets the text of signature.
public int getTop()
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
LocationMeasureType property).
(works if vertical alignment is not specified).
getTop
in interface IRectangle
public final int getVerticalAlignment()
Vertical alignment of signature on document page.
getVerticalAlignment
in interface IAlignment
public final int getWidth()
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
SizeMeasureType property).
getWidth
in interface IRectangle
public void setBackgroundBrushStyle(Brush value)
Gets or sets the signature background brush. Value by default is null. If this property has a value it will be used instead BackgroundBrush property.
public void setBackgroundColor(Color value)
Gets or sets the background color of signature.
public void setBorderColor(Color value)
Gets or sets the border color of signature.
public final void setFont(SignatureFont value)
Gets or sets the font of signature.
public void setForeColor(Color value)
Gets or sets the fore color of signature.
public final void setHeight(int value)
Height of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
SizeMeasureType property).
setHeight
in interface IRectangle
public final void setHorizontalAlignment(int value)
Horizontal alignment of signature on document page.
setHorizontalAlignment
in interface IAlignment
public void setLeft(int value)
Left X position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
LocationMeasureType property).
(works if horizontal alignment is not specified).
setLeft
in interface IRectangle
public void setLocationMeasureType(int value)
Measure type (pixels, percents or millimeters) for Left and Top properties.
setLocationMeasureType
in interface IRectangle
public void setMargin(Padding value)
Gets or sets the space between Sign and Document edges. (works ONLY if horizontal or vertical alignment are specified).
setMargin
in interface IAlignment
public void setMarginMeasureType(int value)
Gets or sets the measure type (pixels, percents or millimeters) for Margin.
setMarginMeasureType
in interface IAlignment
public final void setRotationAngle(int value)
Rotation angle of signature on document page (clockwise).
setRotationAngle
in interface IRotation
public void setSignAllPages(boolean value)
Put signature on all document pages.
public void setSizeMeasureType(int value)
Measure type (pixels, percents or millimeters) for Width and Height properties.
setSizeMeasureType
in interface IRectangle
public final void setStretch(int value)
Stretch mode on Document Page.
setStretch
in interface IRectangle
public final void setText(String value)
Gets or sets the text of signature.
public void setTop(int value)
Top Y Position of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
LocationMeasureType property).
(works if vertical alignment is not specified).
setTop
in interface IRectangle
public final void setVerticalAlignment(int value)
Vertical alignment of signature on document page.
setVerticalAlignment
in interface IAlignment
public final void setWidth(int value)
Width of Signature on Document Page in Measure values
(pixels, percents or millimeters see MeasureType
SizeMeasureType property).
setWidth
in interface IRectangle
public String toString()
Override string conversion.
toString
in class SignOptions
Copyright © 2019. All rights reserved.