com.groupdocs.signature.domain.signatures

Class BaseSignature

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(Object signature)
      Overwrites Equals method to compare signature properties
      int getHeight()
      Specifies height of signature.
      int getLeft()
      Specifies left position of signature.
      Integer getPageNumber()
      Specifies the page signature was found on.
      String getSignatureId()
      Unique signature identifier to modify signature in the document over Update or Delete methods.
      int getSignatureType()
      Specifies the type of signature.
      int getTop()
      Specifies top position of signature.
      int getWidth()
      Specifies width of signature.
      int hashCode()
      Overrides GetHashCode method
      boolean isSignature()
      Get or set flag to indicate if this component is Signature or document content.
      void setHeight(int value)
      Specifies height of signature.
      void setLeft(int value)
      Specifies left position of signature.
      void setPageNumber(Integer value)
      Specifies the page signature was found on.
      void setSignature(boolean value)
      Get or set flag to indicate if this component is Signature or document content.
      void setTop(int value)
      Specifies top position of signature.
      void setWidth(int value)
      Specifies width of signature.
      boolean supportMetaInfoLayer() 
      String toString()
      • Methods inherited from interface com.aspose.ms.System.ICloneable

        deepClone
    • Method Detail

      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class Object
        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.
      • getHeight

        public final int getHeight()

        Specifies height of signature.

      • getLeft

        public final int getLeft()

        Specifies left position of signature.

      • getPageNumber

        public final Integer getPageNumber()

        Specifies the page signature was found on.

      • getSignatureId

        public final String getSignatureId()

        Unique signature identifier to modify signature in the document over Update or Delete methods. This property will be set automatically after Sign or Search method being called. If this property was saved before it can be set manually to manipulate the signature.

      • getSignatureType

        public final int getSignatureType()

        Specifies the type of signature. Digital signature will have this property.

      • getTop

        public final int getTop()

        Specifies top position of signature.

      • getWidth

        public final int getWidth()

        Specifies width of signature.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class Object
        Returns:
      • isSignature

        public final boolean isSignature()

        Get or set flag to indicate if this component is Signature or document content. This property is being used with Update method to set element as signature (true) or document element (false).

      • setHeight

        public final void setHeight(int value)

        Specifies height of signature.

      • setLeft

        public final void setLeft(int value)

        Specifies left position of signature.

      • setPageNumber

        public final void setPageNumber(Integer value)

        Specifies the page signature was found on.

      • setSignature

        public final void setSignature(boolean value)

        Get or set flag to indicate if this component is Signature or document content. This property is being used with Update method to set element as signature (true) or document element (false).

      • setTop

        public final void setTop(int value)

        Specifies top position of signature.

      • setWidth

        public final void setWidth(int value)

        Specifies width of signature.

      • supportMetaInfoLayer

        public boolean supportMetaInfoLayer()