public class PdfPage extends ContentPart
Represents pdf document page.
Modifier and Type | Method and Description |
---|---|
PdfAnnotationCollection |
getAnnotations()
Gets the collection of all annotations of this
. |
PdfArtifactCollection |
getArtifacts()
Gets the collection of all artifacts of this
. |
double |
getHeight()
Gets the height of this
in points. |
double |
getWidth()
Gets the width of this
in points. |
PdfXObjectCollection |
getXObjects()
Gets the collection of all XObjects of this
. |
void |
rasterize(int horizontalResolution,
int verticalResolution,
int imageFormat)
Converts page content into an image.
|
findImages, findImages, search, search
public final double getWidth()
PdfPage
in points.PdfPage
in points.public final double getHeight()
PdfPage
in points.PdfPage
in points.public final PdfArtifactCollection getArtifacts()
PdfPage
.PdfPage
.public final PdfXObjectCollection getXObjects()
PdfPage
.PdfPage
.public final PdfAnnotationCollection getAnnotations()
PdfPage
.PdfPage
.public void rasterize(int horizontalResolution, int verticalResolution, int imageFormat)
Converts page content into an image.
horizontalResolution
- Horizontal image resolution.verticalResolution
- Vertical image resolution.imageFormat
- Image format.