public class PdfPage extends ContentPart
Represents pdf document page.
| Constructor and Description |
|---|
PdfPage(PdfContent parent,
StrategyManager<Integer> strategyManager,
com.aspose.pdf.Page asposePdfPage) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotationToCollection(com.aspose.pdf.Annotation annotation) |
void |
addAnnotationWatermark(Watermark watermark,
boolean isPrintOnly) |
void |
addArtifactToCollection(com.aspose.pdf.Artifact artifact) |
void |
addArtifactWatermark(Watermark watermark) |
PdfAnnotationCollection |
getAnnotations()
Gets the collection of all annotations of this
. |
PdfArtifactCollection |
getArtifacts()
Gets the collection of all artifacts of this
. |
com.aspose.pdf.Page |
getAsposePdfPage() |
PdfContent |
getContent() |
double |
getHeight()
Gets the height of this
in points. |
com.aspose.pdf.Rectangle |
getPageRectangle() |
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.
|
addWatermark, afterWatermarkAdding, checkWatermarkingLicenseRestrictions, findImages, findImages, getParts, getSearchWatermarksInParts, getStrategyManager, getTopParent, search, search, setParts, tryGetWatermarkerSettingspublic PdfPage(PdfContent parent, StrategyManager<Integer> strategyManager, com.aspose.pdf.Page asposePdfPage)
public final void addAnnotationToCollection(com.aspose.pdf.Annotation annotation)
public final void addAnnotationWatermark(Watermark watermark, boolean isPrintOnly)
public final void addArtifactToCollection(com.aspose.pdf.Artifact artifact)
public final void addArtifactWatermark(Watermark watermark)
public final PdfAnnotationCollection getAnnotations()
PdfPage.PdfPage.public final PdfArtifactCollection getArtifacts()
PdfPage.PdfPage.public final com.aspose.pdf.Page getAsposePdfPage()
public final PdfContent getContent()
public final double getHeight()
PdfPage in points.PdfPage in points.public final com.aspose.pdf.Rectangle getPageRectangle()
public final double getWidth()
PdfPage in points.PdfPage in points.public final PdfXObjectCollection getXObjects()
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 © 2026. All rights reserved.