| Modifier and Type | Field and Description |
|---|---|
| protected static final String | TYPE
The type of this destination. |
| protected static final String | TYPE_BOUNDED
The type of this destination. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDPageFitWidthDestination(COSArray
The destination array. arr)Constructor from an existing destination array. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true If the destination should fit just the bounding box.A flag indicating if this page destination should just fit bounding box of the PDF. |
| public int | |
| public void | setFitBoundingBox(boolean
A flag indicating if this should fit the bounding box. fitBoundingBox)Set if this page destination should just fit the bounding box. |
| public void | setTop(int
The top ycoordinate. y)Set the top y-coordinate, a value of -1 implies that the current y-coordinate will be used. |
| TYPE | back to summary |
|---|---|
| protected static final String TYPE The type of this destination. | |
| TYPE_BOUNDED | back to summary |
|---|---|
| protected static final String TYPE_BOUNDED The type of this destination. | |
| PDPageFitWidthDestination | back to summary |
|---|---|
| public PDPageFitWidthDestination() Default constructor. | |
| PDPageFitWidthDestination | back to summary |
|---|---|
| public PDPageFitWidthDestination(COSArray arr) Constructor from an existing destination array.
| |
| fitBoundingBox | back to summary |
|---|---|
| public boolean fitBoundingBox() A flag indicating if this page destination should just fit bounding box of the PDF.
| |
| getTop | back to summary |
|---|---|
| public int getTop() Get the top y coordinate. A return value of -1 implies that the current y-coordinate will be used.
| |
| setFitBoundingBox | back to summary |
|---|---|
| public void setFitBoundingBox(boolean fitBoundingBox) Set if this page destination should just fit the bounding box. The default is false.
| |
| setTop | back to summary |
|---|---|
| public void setTop(int y) Set the top y-coordinate, a value of -1 implies that the current y-coordinate will be used.
| |