StampInfo
Inheritance: java.lang.Object
public final class StampInfo
Class representing stamp information.
Methods
Method | Description |
---|---|
getStampId() | Gets identifier of the stamp. |
getIndexOnPage() | Gets stamp index on the page. |
getStampType() | Gets stamp type (image / form). |
getRectangle() | Gets rectangle where stamp is placed. |
getImageInternal() | Gets image of stamp. |
getImage() | Gets image of stamp. |
getForm() | Gets XForm of the stamp. |
getText() | Gets text in the stamp. |
getVisible() | Gets visibility of stamp. |
getStampId()
public int getStampId()
Gets identifier of the stamp.
Returns: int - int value
getIndexOnPage()
public int getIndexOnPage()
Gets stamp index on the page.
Returns: int - int value
getStampType()
public StampType getStampType()
Gets stamp type (image / form).
Returns: StampType - StampType element
getRectangle()
public Rectangle getRectangle()
Gets rectangle where stamp is placed.
Returns: Rectangle - Rectangle element
getImageInternal()
public System.Drawing.Image getImageInternal()
Gets image of stamp. May be null if stamp does not contain images (for example for text stamp).
Returns: Image - 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: java.awt.image.BufferedImage - BufferedImage object
getForm()
public XForm getForm()
Gets XForm of the stamp.
Returns: XForm - XForm object
getText()
public String getText()
Gets text in the stamp.
Returns: java.lang.String - 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 - boolean value