public class FitObject extends Object
Modifier and Type | Method and Description |
---|---|
float |
getBottom()
Gets a float vertical coordinate positioned at the bottom edge of the window.
|
float |
getLeft()
Gets a float horizontal coordinate positioned at the left edge of the window.
|
PdfObject |
getPage()
Gets the PdfObject representing the page displayed by current Fit element.
|
float |
getRight()
Gets a float horizontal coordinate positioned at the right edge of the window.
|
float |
getTop()
Gets a float vertical coordinate positioned at the top edge of the window.
|
float |
getZoom()
Gets a float representing the zoom ratio.
|
FitObject |
setBottom(float bottom)
Sets a float vertical coordinate positioned at the bottom edge of the window.
|
FitObject |
setLeft(float left)
Sets a float horizontal coordinate positioned at the left edge of the window.
|
FitObject |
setRight(float right)
Sets a float horizontal coordinate positioned at the right edge of the window.
|
FitObject |
setTop(float top)
Sets a float vertical coordinate positioned at the top edge of the window.
|
FitObject |
setZoom(float zoom)
Sets a float representing the zoom ratio.
|
public FitObject(PdfObject page)
public PdfObject getPage()
page
of the current Fit element
public float getTop()
public FitObject setTop(float top)
top
- vertical coordinate value
fit object
public float getLeft()
public FitObject setLeft(float left)
left
- horizontal coordinate value
fit object
public float getBottom()
public FitObject setBottom(float bottom)
bottom
- vertical coordinate value
fit object
public float getRight()
public FitObject setRight(float right)
right
- horizontal coordinate
fit object
public float getZoom()
public FitObject setZoom(float zoom)
zoom
- ratio value
fit object
Copyright © 1998–2023 iText Group NV. All rights reserved.