public class DefaultPdfTextLocation extends Object implements IPdfTextLocation
Constructor and Description |
---|
DefaultPdfTextLocation(int pageNr, Rectangle rect, String text) |
Modifier and Type | Method and Description |
---|---|
int |
getPageNumber()
Get the page number of the page on which the text is located
|
Rectangle |
getRectangle() |
String |
getText() |
DefaultPdfTextLocation |
setPageNr(int pageNr) |
DefaultPdfTextLocation |
setRectangle(Rectangle rectangle) |
DefaultPdfTextLocation |
setText(String text) |
public Rectangle getRectangle()
getRectangle
in interface IPdfTextLocation
Rectangle
in which the text is located
public DefaultPdfTextLocation setRectangle(Rectangle rectangle)
public String getText()
getText
in interface IPdfTextLocation
public DefaultPdfTextLocation setText(String text)
public int getPageNumber()
IPdfTextLocation
getPageNumber
in interface IPdfTextLocation
public DefaultPdfTextLocation setPageNr(int pageNr)
Copyright © 1998–2020 iText Group NV. All rights reserved.