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.
|
Object |
getData()
Gets or sets custom object to serialize to QR-Code content.
|
IDataEncryption |
getDataEncryption()
Gets or sets implementation of
IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties. |
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 |
setData(Object value)
Gets or sets custom object to serialize to QR-Code content.
|
void |
setDataEncryption(IDataEncryption value)
Gets or sets implementation of
IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties. |
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, setWidth
getAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, setAppearance, setDocumentPageNumber, setPagesSetup
public 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 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 QR-code image. Default value is None.
public final Object getData()
Gets or sets custom object to serialize to QR-Code content.
public final IDataEncryption getDataEncryption()
Gets or sets implementation of IDataEncryption
interface to encode and decode QR-Code Signature Text or Data properties.
public final 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 SignTextOptions
protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
getImageHelper
in class SignTextOptions
public final Padding getInnerMargins()
Gets or sets the space between QRCode elements and result image borders.
public final 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 final 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 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 Qr-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 QR-code image. Default value is None.
public final void setData(Object value)
Gets or sets custom object to serialize to QR-Code content.
public final void setDataEncryption(IDataEncryption value)
Gets or sets implementation of IDataEncryption
interface to encode and decode QR-Code Signature Text or Data properties.
public final 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 SignTextOptions
public final void setInnerMargins(Padding value)
Gets or sets the space between QRCode elements and result image borders.
public final 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 final 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 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.