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, setWidth
getAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, setAppearance, setDocumentPageNumber, setPagesSetup
public 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 SignTextOptions
public 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 SignTextOptions
public 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 SignTextOptions
public final int getBorderDashStyle()
Gets or sets the signature border style. Using of this property could cause problems with verification. Use it carefully.
public final boolean getBorderVisiblity()
Gets or sets the signature border visibility. Using of this property could cause problems with verification. Use it carefully.
public final double getBorderWeight()
Gets or sets the weight of the signature border. Using of this property could cause problems with verification. Use it carefully.
public final int getCodeTextAlignment()
Gets or sets the alignment of text in the result Bar-code image. Default value is None.
public final 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 SignTextOptions
protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
getImageHelper
in class SignTextOptions
public final Padding getInnerMargins()
Gets or sets the space between Barcode elements and result image borders.
public final 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 IOpacity
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. 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 SignTextOptions
public 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 SignTextOptions
public 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 SignTextOptions
public final void setBorderDashStyle(int value)
Gets or sets the signature border style. Using of this property could cause problems with verification. Use it carefully.
public final void setBorderVisiblity(boolean value)
Gets or sets the signature border visibility. Using of this property could cause problems with verification. Use it carefully.
public final 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 final void setCodeTextAlignment(int value)
Gets or sets the alignment of text in the result Bar-code image. Default value is None.
public final 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 SignTextOptions
public final void setInnerMargins(Padding value)
Gets or sets the space between Barcode elements and result image borders.
public final 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 IOpacity
public String toString()
Override string conversion.
toString
in class SignTextOptions
Copyright © 2019. All rights reserved.