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.

วิธีการเข้าถึง

ชื่อประเภทการเข้าถึงคำอธิบาย
PagePageอ่านรับหน้า.

วิธีการ

ลายเซ็นคำอธิบาย
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 นี้.

ดูเพิ่มเติม

 ภาษาไทย