| Modifier and Type | Field and Description |
|---|---|
| public static final String | TYPE
The type of this object. |
| private final COSDictionary |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PDRectangle | Returns: the locationThis will retrieve the rectangle specifying the location of the viewport. |
| public COSDictionary | Returns: the viewport dictionaryImplements org. This will return the corresponding dictionary. |
| public PDMeasureDictionary | |
| public String | |
| public String | Returns: the type of the external data dictionaryReturns the type of the viewport dictionary. |
| public void | setBBox(PDRectangle
the rectangle specifying the location. rectangle)This will set the rectangle specifying the location of the viewport. |
| public void | |
| public void |
| TYPE | back to summary |
|---|---|
| public static final String TYPE The type of this object. | |
| viewportDictionary | back to summary |
|---|---|
| private final COSDictionary viewportDictionary | |
| PDViewportDictionary | back to summary |
|---|---|
| public PDViewportDictionary() Constructor. | |
| PDViewportDictionary | back to summary |
|---|---|
| public PDViewportDictionary(COSDictionary dictionary) Constructor.
| |
| getBBox | back to summary |
|---|---|
| public PDRectangle getBBox() This will retrieve the rectangle specifying the location of the viewport.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. This will return the corresponding dictionary.
| |
| getMeasure | back to summary |
|---|---|
| public PDMeasureDictionary getMeasure() This will retrieve the measure dictionary.
| |
| getName | back to summary |
|---|---|
| public String getName() This will retrieve the name of the viewport.
| |
| getType | back to summary |
|---|---|
| public String getType() Returns the type of the viewport dictionary. It must be "Viewport"
| |
| setBBox | back to summary |
|---|---|
| public void setBBox(PDRectangle rectangle) This will set the rectangle specifying the location of the viewport.
| |
| setMeasure | back to summary |
|---|---|
| public void setMeasure(PDMeasureDictionary measure) This will set the measure dictionary.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) This will set the name of the viewport.
| |