Page
Overview
Page is a class in Aspose.PDF FOSS for C++.
Page labels (e.g., Roman numerals, custom prefixes) are managed through PageLabel and PageLabelCollection classes.
This class provides 28 methods for working with Page objects in C++ programs.
Available methods include: AddImage, Annotations, ArtBox, Artifacts, BleedBox, CropBox, GetPageRect, MediaBox, Number, Page, Paragraphs, Rect, and 5 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Accessor methods: Page.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
Page | Page | Read | Gets the page. |
Methods
| Signature | Description |
|---|---|
Page() → Page | Calls Page on this Page instance. |
Page() → Page | |
Page() | |
Page() | |
~Page() | Calls ~Page on this Page instance. |
Number() → std::int64_t | Calls Number on this Page instance. |
Rect() → Rectangle | Calls Rect on this Page instance. |
Rect(value: Rectangle) | Calls Rect(value) on this Page instance. |
MediaBox() → Rectangle | Calls MediaBox on this Page instance. |
MediaBox(value: Rectangle) | Calls MediaBox(value) on this Page instance. |
CropBox() → Rectangle | Calls CropBox on this Page instance. |
CropBox(value: Rectangle) | Calls CropBox(value) on this Page instance. |
TrimBox() → Rectangle | Calls TrimBox on this Page instance. |
TrimBox(value: Rectangle) | Calls TrimBox(value) on this Page instance. |
BleedBox() → Rectangle | Calls BleedBox on this Page instance. |
BleedBox(value: Rectangle) | Calls BleedBox(value) on this Page instance. |
ArtBox() → Rectangle | Calls ArtBox on this Page instance. |
ArtBox(value: Rectangle) | Calls ArtBox(value) on this Page instance. |
Rotate() → Rotation | Calls Rotate on this Page instance. |
Rotate(value: Rotation) | Calls Rotate(value) on this Page instance. |
GetPageRect(isMediaBox: bool) → Rectangle | Calls GetPageRect(isMediaBox) on this Page instance. |
SetPageSize(width: double, height: double) | Sets the page size value. |
AddImage(imageFile: std::string, rect: Rectangle) → bool | Calls AddImage(imageFile, rect) on this Page instance. |
AddImage(imageStream: std::vector<std::byte>, imageRect: Rectangle, autoAdjustRectangle: bool) | Calls AddImage(imageStream, imageRect, autoAdjustRectangle) on this Page instance. |
Annotations() → Annotations::AnnotationCollection | Calls Annotations on this Page instance. |
Paragraphs() → Aspose::Pdf::Paragraphs | Calls Paragraphs on this Page instance. |
Resources() → Aspose::Pdf::Resources | Calls Resources on this Page instance. |
Artifacts() → Aspose::Pdf::ArtifactCollection | Calls Artifacts on this Page instance. |