public abstract class BarcodeSignOptions extends SignTextOptions implements IOpacity
Represents the Barcode Signature Options.
| Constructor and Description |
|---|
BarcodeSignOptions()
Initializes a new instance of the BarcodeSignOptions class with default values.
|
BarcodeSignOptions(String text)
Initializes a new instance of the BarcodeSignOptions 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.
|
int |
getBorderDashStyle()
Gets or sets the signature border style.
|
boolean |
getBorderVisiblity()
Gets or sets the signature border visibility.
|
double |
getBorderWeight()
Gets or sets the weight of the signature border.
|
int |
getCodeTextAlignment()
Gets or sets the alignment of text in the result Bar-code image.
|
BarcodeType |
getEncodeType()
Get or set Barcode type.
|
Color |
getForeColor()
Gets or sets the Fore color of Barcode bars
Using of this property could cause problems with verification.
|
protected com.groupdocs.signature.domain.helpers.ImageHelper |
getImageHelper() |
Padding |
getInnerMargins()
Gets or sets the space between Barcode elements and result image borders.
|
double |
getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
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 |
setBorderDashStyle(int value)
Gets or sets the signature border style.
|
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 |
setCodeTextAlignment(int value)
Gets or sets the alignment of text in the result Bar-code image.
|
void |
setEncodeType(BarcodeType value)
Get or set Barcode type.
|
void |
setForeColor(Color value)
Gets or sets the Fore color of Barcode bars
Using of this property could cause problems with verification.
|
void |
setInnerMargins(Padding value)
Gets or sets the space between Barcode elements and result image borders.
|
void |
setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)).
|
String |
toString()
Override string conversion.
|
getFont, getHeight, getHorizontalAlignment, getLeft, getLocationMeasureType, getMargin, getMarginMeasureType, getRotationAngle, getSignAllPages, getSizeMeasureType, getStretch, getText, getTop, getVerticalAlignment, getWidth, setFont, setHeight, setHorizontalAlignment, setLeft, setLocationMeasureType, setMargin, setMarginMeasureType, setRotationAngle, setSignAllPages, setSizeMeasureType, setStretch, setText, setTop, setVerticalAlignment, setWidthgetAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, release, setAppearance, setDocumentPageNumber, setPagesSetup, validatepublic BarcodeSignOptions()
Initializes a new instance of the BarcodeSignOptions class with default values.
public BarcodeSignOptions(String text)
Initializes a new instance of the BarcodeSignOptions class with text.
text - Barcode 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. BackgroundBrushStyle has limited scope of application for Bar-codes. SolidBrush, LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used instead BackgroundColor. TextureBrush is not used.
getBackgroundBrushStyle in class SignTextOptionspublic Color getBackgroundColor()
Gets or sets the background color of signature. Using of this property could cause problems with verification. Use it carefully.
getBackgroundColor in class SignTextOptionspublic Color getBorderColor()
Gets or sets the border color of signature. Using of this property could cause problems with verification. Use it carefully.
getBorderColor in class SignTextOptionspublic int getBorderDashStyle()
Gets or sets the signature border style. Using of this property could cause problems with verification. Use it carefully.
public boolean getBorderVisiblity()
Gets or sets the signature border visibility. Using of this property could cause problems with verification. Use it carefully.
public double getBorderWeight()
Gets or sets the weight of the signature border. Using of this property could cause problems with verification. Use it carefully.
public int getCodeTextAlignment()
Gets or sets the alignment of text in the result Bar-code image. Default value is None.
public BarcodeType getEncodeType()
Get or set Barcode type.
public Color getForeColor()
Gets or sets the Fore color of Barcode bars Using of this property could cause problems with verification. Use it carefully.
getForeColor in class SignTextOptionsprotected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
getImageHelper in class SignTextOptionspublic Padding getInnerMargins()
Gets or sets the space between Barcode elements and result image borders.
public double getOpacity()
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0. Using of this property could cause problems with verification. Use it carefully.
getOpacity in interface IOpacitypublic 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. BackgroundBrushStyle has limited scope of application for Bar-codes. SolidBrush, LinearGradientBrush (ColorStart) and RadialGradientBrush (ColorInner) are used instead BackgroundColor. TextureBrush is not used.
setBackgroundBrushStyle in class SignTextOptionspublic void setBackgroundColor(Color value)
Gets or sets the background color of signature. Using of this property could cause problems with verification. Use it carefully.
setBackgroundColor in class SignTextOptionspublic void setBorderColor(Color value)
Gets or sets the border color of signature. Using of this property could cause problems with verification. Use it carefully.
setBorderColor in class SignTextOptionspublic void setBorderDashStyle(int value)
Gets or sets the signature border style. Using of this property could cause problems with verification. Use it carefully.
public void setBorderVisiblity(boolean value)
Gets or sets the signature border visibility. Using of this property could cause problems with verification. Use it carefully.
public void setBorderWeight(double value)
Gets or sets the weight of the signature border. Using of this property could cause problems with verification. Use it carefully.
public void setCodeTextAlignment(int value)
Gets or sets the alignment of text in the result Bar-code image. Default value is None.
public void setEncodeType(BarcodeType value)
Get or set Barcode type.
public void setForeColor(Color value)
Gets or sets the Fore color of Barcode bars Using of this property could cause problems with verification. Use it carefully.
setForeColor in class SignTextOptionspublic void setInnerMargins(Padding value)
Gets or sets the space between Barcode elements and result image borders.
public void setOpacity(double value)
Gets or sets the signature opacity (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0. Using of this property could cause problems with verification. Use it carefully.
setOpacity in interface IOpacitypublic String toString()
Override string conversion.
toString in class SignTextOptionsCopyright © 2018. All rights reserved.