com.groupdocs.signature.domain.signatures

Class BarcodeSignature

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public class BarcodeSignature
    extends BaseSignature

    Contains Barcode Signature properties.

    • Constructor Detail

      • BarcodeSignature

        public BarcodeSignature()

        Initialize BarcodeSignature with default parameters.

      • BarcodeSignature

        public BarcodeSignature(String signatureId)

        Initialize BarcodeSignature object with signature identifier that was obtained after search process. This unique identifier is used to find additional properties for this signature from document signature information layer.

        Parameters:
        signatureId - Unique signature identifier obtained by Sign or Search method of Signature class Signature.
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone Barcode Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class BaseSignature
        Returns:
        Returns cloned Barcode Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class BaseSignature
        Parameters:
        signature - Signature object to compare with.
        Returns:
        Returns true if passed signature object has same type and all its properties are equal to this instance properties.
      • getEncodeType

        public final BarcodeType getEncodeType()

        Specifies the Barcode Encode Type.

      • getFormat

        public final FileType getFormat()

        Specifies the format of Barcode signature image.

      • getText

        public final String getText()

        Specifies text of Barcode.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class BaseSignature
        Returns:
        Signature hash code