Packages

 

com.groupdocs.signature.options.sign

Class BarcodeSignOptions

    • Constructor Detail

      • BarcodeSignOptions

        public BarcodeSignOptions()

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

      • BarcodeSignOptions

        public BarcodeSignOptions(String text)

        Initializes a new instance of the BarcodeSignOptions class with text.

        Parameters:
        text - Barcode text
      • BarcodeSignOptions

        public BarcodeSignOptions(String text,
                          BarcodeType encodeType)

        Initializes a new instance of the BarcodeSignOptions class with text.

        Parameters:
        text - Barcode text
        encodeType - Barcode encode type see BarcodeType
    • Method Detail

      • getCodeTextAlignment

        public final int getCodeTextAlignment()

        Gets or sets the alignment of text in the result Barcode image. Default value is None.

      • getEncodeType

        public final BarcodeType getEncodeType()

        Gets or sets Barcode type.

      • getForeColor

        public Color getForeColor()

        Gets or sets the Fore color of Barcode bars Using of this property could cause problems with verification. Use it carefully.

        Overrides:
        getForeColor in class TextSignOptions
      • getImageHelper

        protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
      • getInnerMargins

        public final Padding getInnerMargins()

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

      • setCodeTextAlignment

        public final void setCodeTextAlignment(int value)

        Gets or sets the alignment of text in the result Barcode image. Default value is None.

      • setEncodeType

        public final void setEncodeType(BarcodeType value)

        Gets or sets Barcode type.

      • setForeColor

        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.

        Overrides:
        setForeColor in class TextSignOptions
      • setInnerMargins

        public final void setInnerMargins(Padding value)

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