com.aspose.pdf.facades

Class StampInfo



  • public final class StampInfo
    extends Object

    Class representing stamp information.

    • Method Detail

      • getStampId

        public int getStampId()

        Gets identifier of the stamp.

        Returns:
        int value
      • getIndexOnPage

        public int getIndexOnPage()

        Gets stamp index on the page.

        Returns:
        int value
      • getStampType

        public int getStampType()

        Gets stamp type (image / form).

        Returns:
        StampType element
        See Also:
        StampType
      • getRectangle

        public Rectangle getRectangle()

        Gets rectangle where stamp is placed.

        Returns:
        Rectangle element
      • getImageInternal

        public com.aspose.ms.System.Drawing.Image getImageInternal()

        Gets image of stamp. May be null if stamp does not contain images (for example for text stamp).

        Returns:
        Image object
      • getImage

        public BufferedImage getImage()

        Gets image of stamp. May be null if stamp does not contain images (for example for text stamp).

        Returns:
        BufferedImage object
      • getForm

        public XForm getForm()

        Gets XForm of the stamp.

        Returns:
        XForm object
      • getText

        public String getText()

        Gets text in the stamp.

        Returns:
        String value
      • getVisible

        public boolean getVisible()

        Gets visibility of stamp. If false then stamp is hidden (with HideStampById). Hidden stamp may be restored by ShowStampById.

        Returns:
        boolean value