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 |
---|---|
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 |
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, setWidth
getAppearance, getDocumentPageNumber, getExtensions, getPagesSetup, isRotationChanged, setAppearance, setDocumentPageNumber, setPagesSetup, setRotationChanged
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 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 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 SignTextOptions
protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
getImageHelper
in class SignTextOptions
public 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 IOpacity
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 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 SignTextOptions
public 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 IOpacity
public String toString()
Override string conversion.
toString
in class SignTextOptions
Copyright © 2018. All rights reserved.