public abstract class QRCodeSignOptions extends SignTextOptions implements IOpacity
Represents the QR-Code Signature Options.
| Constructor and Description |
|---|
QRCodeSignOptions()
Initializes a new instance of the QRCodeSignOptions class with default values.
|
QRCodeSignOptions(String text)
Initializes a new instance of the QRCodeSignOptions 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 QR-code image.
|
QRCodeType |
getEncodeType()
Get or set QRCode type.
|
Color |
getForeColor()
Gets or sets the Fore color of QR-Code 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 QRCode elements and result image borders.
|
String |
getLogoGuid()
Gets or sets the QR-code logo image file name.
|
InputStream |
getLogoStream()
Gets or sets the QR-code logo image stream.
|
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 QR-code image.
|
void |
setEncodeType(QRCodeType value)
Get or set QRCode type.
|
void |
setForeColor(Color value)
Gets or sets the Fore color of QR-Code bars
Using of this property could cause problems with verification.
|
void |
setInnerMargins(Padding value)
Gets or sets the space between QRCode elements and result image borders.
|
void |
setLogoGuid(String value)
Gets or sets the QR-code logo image file name.
|
void |
setLogoStream(InputStream value)
Gets or sets the QR-code logo image stream.
|
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 QRCodeSignOptions()
Initializes a new instance of the QRCodeSignOptions class with default values.
public QRCodeSignOptions(String text)
Initializes a new instance of the QRCodeSignOptions 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. BackgroundBrushStyle has limited scope of application for Qr-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 QR-code image. Default value is None.
public QRCodeType getEncodeType()
Get or set QRCode type.
public Color getForeColor()
Gets or sets the Fore color of QR-Code 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 QRCode elements and result image borders.
public String getLogoGuid()
Gets or sets the QR-code logo image file name. This property in use only if LogoStream is not specified. Using of this property could cause problems with verification. Use it carefully.
public InputStream getLogoStream()
Gets or sets the QR-code logo image stream. If this property is specified it is always used instead LogoGuid. Using of this property could cause problems with verification. Use it carefully.
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 Qr-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 QR-code image. Default value is None.
public void setEncodeType(QRCodeType value)
Get or set QRCode type.
public void setForeColor(Color value)
Gets or sets the Fore color of QR-Code 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 QRCode elements and result image borders.
public void setLogoGuid(String value)
Gets or sets the QR-code logo image file name. This property in use only if LogoStream is not specified. Using of this property could cause problems with verification. Use it carefully.
public void setLogoStream(InputStream value)
Gets or sets the QR-code logo image stream. If this property is specified it is always used instead LogoGuid. Using of this property could cause problems with verification. Use it carefully.
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.