public class Widget extends NativeObject
Modifier and Type | Method and Description |
---|---|
static Widget |
createDynamicObject(long handle) |
Rectangle |
getBoundingBox()
The location on the page (Getter)
|
boolean |
getHidden()
The widget's visibility (Getter)
|
boolean |
getNoPrint()
The widget's visibility when printing (Getter)
|
equals, hashCode
public static Widget createDynamicObject(long handle)
public Rectangle getBoundingBox() throws CorruptException
java.lang.IllegalStateException
- if the object has already been closedCorruptException
- if the PDF is corruptpublic boolean getHidden()
true
then the widget is present, but is invisible and not available for user interaction.
Depending on the getNoPrint()
property it will, however, still be visible when printing.java.lang.IllegalStateException
- if the object has already been closedpublic boolean getNoPrint()
true
then the widget is not present in a print output of the document.java.lang.IllegalStateException
- if the object has already been closed