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()
public float getTop()
public FitObject setTop(float top)
public float getLeft()
public FitObject setLeft(float left)
public float getBottom()
public FitObject setBottom(float bottom)
public float getRight()
public FitObject setRight(float right)
public float getZoom()
public FitObject setZoom(float zoom)
Copyright © 1998–2020 iText Group NV. All rights reserved.