Page
Przegląd
Page jest klasą w Aspose.PDF FOSS dla C++.
Etykiety stron (np. liczby rzymskie, własne prefiksy) są zarządzane przez klasy PageLabel i PageLabelCollection.
Ta klasa udostępnia 28 metod do pracy z obiektami Page w programach C++. Dostępne metody obejmują: AddImage, Annotations, ArtBox, Artifacts, BleedBox, CropBox, GetPageRect, MediaBox, Number, Page, Paragraphs, Rect oraz 5 dodatkowych metod. Wszystkie publiczne członki są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++. Metody dostępowe: Page.
Metody dostępowe
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
Page | Page | Odczyt | Pobiera stronę. |
Metody
| Sygnatura | Opis |
|---|---|
Page() → Page | Wywołuje Page na tej instancji Page. |
Page() → Page | |
Page() | |
Page() | |
~Page() | Wywołuje ~Page na tej instancji Page. |
Number() → std::int64_t | Wywołuje Number na tej instancji Page. |
Rect() → Rectangle | Wywołuje Rect na tej instancji Page. |
Rect(value: Rectangle) | Wywołuje Rect(value) na tej instancji Page. |
MediaBox() → Rectangle | Wywołuje MediaBox na tej instancji Page. |
MediaBox(value: Rectangle) | Wywołuje MediaBox(value) na tej instancji Page. |
CropBox() → Rectangle | Wywołuje CropBox na tej instancji Page. |
CropBox(value: Rectangle) | Wywołuje CropBox(value) na tej instancji Page. |
TrimBox() → Rectangle | Wywołuje TrimBox na tej instancji Page. |
TrimBox(value: Rectangle) | Wywołuje TrimBox(value) na tej instancji Page. |
BleedBox() → Rectangle | Wywołuje BleedBox na tej instancji Page. |
BleedBox(value: Rectangle) | Wywołuje BleedBox(value) na tej instancji Page. |
ArtBox() → Rectangle | Wywołuje ArtBox na tej instancji Page. |
ArtBox(value: Rectangle) | Wywołuje ArtBox(value) na tej instancji Page. |
Rotate() → Rotation | Wywołuje Rotate na tej instancji Page. |
Rotate(value: Rotation) | Wywołuje Rotate(value) na tej instancji Page. |
GetPageRect(isMediaBox: bool) → Rectangle | Wywołuje GetPageRect(isMediaBox) na tej instancji Page. |
SetPageSize(width: double, height: double) | Ustawia wartość rozmiaru strony. |
AddImage(imageFile: std::string, rect: Rectangle) → bool | Wywołuje AddImage(imageFile, rect) na tej instancji Page. |
AddImage(imageStream: std::vector<std::byte>, imageRect: Rectangle, autoAdjustRectangle: bool) | Wywołuje AddImage(imageStream, imageRect, autoAdjustRectangle) na tej instancji Page. |
Annotations() → Annotations::AnnotationCollection | Wywołuje Annotations na tej instancji Page. |
Paragraphs() → Aspose::Pdf::Paragraphs | Wywołuje Paragraphs na tej instancji Page. |
Resources() → Aspose::Pdf::Resources | Wywołuje Resources na tej instancji Page. |
Artifacts() → Aspose::Pdf::ArtifactCollection | Wywołuje Artifacts na tej instancji Page. |