Page
ภาพรวม
Page เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.
ป้ายหน้ากระดาษ (เช่น ตัวเลขโรมัน, คำนำหน้าที่กำหนดเอง) ถูกจัดการผ่านคลาส PageLabel และ PageLabelCollection.
คลาสนี้ให้ 28 เมธอดสำหรับทำงานกับอ็อบเจกต์ Page ในโปรแกรม C++ เมธอดที่มีอยู่รวมถึง: AddImage, Annotations, ArtBox, Artifacts, BleedBox, CropBox, GetPageRect, MediaBox, Number, Page, Paragraphs, Rect และเมธอดเพิ่มเติมอีก 5 รายการ สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ C++ เมธอดตัวเข้าถึง: Page.
วิธีการเข้าถึง
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
Page | Page | อ่าน | รับหน้า. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
Page() → Page | เรียก Page บนอินสแตนซ์ Page นี้. |
Page() → Page | |
Page() | |
Page() | |
~Page() | เรียกใช้ ~Page บนอินสแตนซ์ Page นี้. |
Number() → std::int64_t | เรียกใช้ Number บนอินสแตนซ์ Page นี้. |
Rect() → Rectangle | เรียกใช้ Rect บนอินสแตนซ์ Page นี้. |
Rect(value: Rectangle) | เรียกใช้ Rect(value) บนอินสแตนซ์ Page นี้. |
MediaBox() → Rectangle | เรียกใช้ MediaBox บนอินสแตนซ์ Page นี้. |
MediaBox(value: Rectangle) | เรียกใช้ MediaBox(value) บนอินสแตนซ์ Page นี้. |
CropBox() → Rectangle | เรียกใช้ CropBox บนอินสแตนซ์ Page นี้. |
CropBox(value: Rectangle) | เรียกใช้ CropBox(value) บนอินสแตนซ์ Page นี้. |
TrimBox() → Rectangle | เรียก TrimBox บนอินสแตนซ์ Page นี้. |
TrimBox(value: Rectangle) | เรียก TrimBox(value) บนอินสแตนซ์ Page นี้. |
BleedBox() → Rectangle | เรียก BleedBox บนอินสแตนซ์ Page นี้. |
BleedBox(value: Rectangle) | เรียก BleedBox(value) บนอินสแตนซ์ Page นี้. |
ArtBox() → Rectangle | เรียก ArtBox บนอินสแตนซ์ Page นี้. |
ArtBox(value: Rectangle) | เรียก ArtBox(value) บนอินสแตนซ์ Page นี้. |
Rotate() → Rotation | เรียก Rotate บนอินสแตนซ์ Page นี้. |
Rotate(value: Rotation) | เรียก Rotate(value) บนอินสแตนซ์ Page นี้. |
GetPageRect(isMediaBox: bool) → Rectangle | เรียกใช้ GetPageRect(isMediaBox) บนอินสแตนซ์ Page นี้. |
SetPageSize(width: double, height: double) | กำหนดค่าขนาดของหน้า. |
AddImage(imageFile: std::string, rect: Rectangle) → bool | เรียกใช้ AddImage(imageFile, rect) บนอินสแตนซ์ Page นี้. |
AddImage(imageStream: std::vector<std::byte>, imageRect: Rectangle, autoAdjustRectangle: bool) | เรียกใช้ AddImage(imageStream, imageRect, autoAdjustRectangle) บนอินสแตนซ์ Page นี้. |
Annotations() → Annotations::AnnotationCollection | เรียกใช้ Annotations บนอินสแตนซ์ Page นี้. |
Paragraphs() → Aspose::Pdf::Paragraphs | เรียก Paragraphs บนอินสแตนซ์ Page นี้. |
Resources() → Aspose::Pdf::Resources | เรียก Resources บนอินสแตนซ์ Page นี้. |
Artifacts() → Aspose::Pdf::ArtifactCollection | เรียก Artifacts บนอินสแตนซ์ Page นี้. |