Packages

 

com.groupdocs.signature.options.qrcodesignature

Class QRCodeSignOptions

    • Constructor Detail

      • QRCodeSignOptions

        public QRCodeSignOptions()

        Initializes a new instance of the QRCodeSignOptions class with default values.

      • QRCodeSignOptions

        public QRCodeSignOptions(String text)

        Initializes a new instance of the QRCodeSignOptions class with text.

        Parameters:
        text - Signature text.
    • Method Detail

      • getBackgroundBrushStyle

        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.

        Overrides:
        getBackgroundBrushStyle in class SignTextOptions
      • getBackgroundColor

        public Color getBackgroundColor()

        Gets or sets the background color of signature. Using of this property could cause problems with verification. Use it carefully.

        Overrides:
        getBackgroundColor in class SignTextOptions
      • getBorderColor

        public Color getBorderColor()

        Gets or sets the border color of signature. Using of this property could cause problems with verification. Use it carefully.

        Overrides:
        getBorderColor in class SignTextOptions
      • getBorderDashStyle

        public final int getBorderDashStyle()

        Gets or sets the signature border style. Using of this property could cause problems with verification. Use it carefully.

      • getBorderVisiblity

        public final boolean getBorderVisiblity()

        Gets or sets the signature border visibility. Using of this property could cause problems with verification. Use it carefully.

      • getBorderWeight

        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.

      • getCodeTextAlignment

        public final int getCodeTextAlignment()

        Gets or sets the alignment of text in the result QR-code image. Default value is None.

      • getData

        public final Object getData()

        Gets or sets custom object to serialize to QR-Code content.

      • getDataEncryption

        public final IDataEncryption getDataEncryption()

        Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.

      • getEncodeType

        public final QRCodeType getEncodeType()

        Get or set QRCode type.

      • getForeColor

        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.

        Overrides:
        getForeColor in class SignTextOptions
      • getImageHelper

        protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
        Overrides:
        getImageHelper in class SignTextOptions
      • getInnerMargins

        public final Padding getInnerMargins()

        Gets or sets the space between QRCode elements and result image borders.

      • getLogoGuid

        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.

      • getLogoStream

        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.

      • getOpacity

        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.

        Specified by:
        getOpacity in interface IOpacity
      • setBackgroundBrushStyle

        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.

        Overrides:
        setBackgroundBrushStyle in class SignTextOptions
      • setBackgroundColor

        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.

        Overrides:
        setBackgroundColor in class SignTextOptions
      • setBorderColor

        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.

        Overrides:
        setBorderColor in class SignTextOptions
      • setBorderDashStyle

        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.

      • setBorderVisiblity

        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.

      • setBorderWeight

        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.

      • setCodeTextAlignment

        public final void setCodeTextAlignment(int value)

        Gets or sets the alignment of text in the result QR-code image. Default value is None.

      • setData

        public final void setData(Object value)

        Gets or sets custom object to serialize to QR-Code content.

      • setDataEncryption

        public final void setDataEncryption(IDataEncryption value)

        Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.

      • setEncodeType

        public final void setEncodeType(QRCodeType value)

        Get or set QRCode type.

      • setForeColor

        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.

        Overrides:
        setForeColor in class SignTextOptions
      • setInnerMargins

        public final void setInnerMargins(Padding value)

        Gets or sets the space between QRCode elements and result image borders.

      • setLogoGuid

        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.

      • setLogoStream

        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.

      • setOpacity

        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.

        Specified by:
        setOpacity in interface IOpacity