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
PdfPage . |
PdfArtifactCollection |
getArtifacts()
Gets the collection of all artifacts of this
PdfPage . |
double |
getHeight()
Gets the height of this
PdfPage in points. |
double |
getWidth()
Gets the width of this
PdfPage in points. |
PdfXObjectCollection |
getXObjects()
Gets the collection of all XObjects of this
PdfPage . |
void |
rasterize(int horizontalResolution,
int verticalResolution,
int imageFormat)
Converts page content into an image.
|
findImages, findImages, search, search
public final double getWidth()
Gets the width of this PdfPage
in points.
PdfPage
in points.public final double getHeight()
Gets the height of this PdfPage
in points.
PdfPage
in points.public final PdfArtifactCollection getArtifacts()
Gets the collection of all artifacts of this PdfPage
.
PdfPage
.public final PdfXObjectCollection getXObjects()
Gets the collection of all XObjects of this PdfPage
.
PdfPage
.public final PdfAnnotationCollection getAnnotations()
Gets the collection of all annotations of this 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.Copyright © 2020. All rights reserved.