Table

ภาพรวม

Table เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.

คลาส Table ช่วยให้นักพัฒนาสร้างตาราง PDF ด้วยการควบคุมเต็มที่ของแถว, ความกว้างของคอลัมน์, เส้นขอบ, การเว้นระยะของเซลล์, และสถานะข้อความเริ่มต้น.

คลาสนี้ให้ 30 เมธอดสำหรับทำงานกับอ็อบเจ็กต์ Table ในโปรแกรม C++ วิธีการที่มีให้รวมถึง: Alignment, BackgroundColor, Border, ColumnWidths, DefaultCellBorder, DefaultCellPadding, DefaultCellTextState, DefaultColumnWidth, IsBordersIncluded, IsBroken, Left, RepeatingColumnsCount และเมธอดเพิ่มเติมอีก 3 ตัว สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ C++.

วิธีการ

ลายเซ็นคำอธิบาย
Rows() → Aspose::Pdf::Rowsเรียก Rows บนอินสแตนซ์ Table นี้.
Rows() → Aspose::Pdf::Rows
ColumnWidths() → std::stringเรียก ColumnWidths บนอินสแตนซ์ Table นี้.
ColumnWidths(value: std::string)เรียก ColumnWidths(value) บนอินสแตนซ์ Table นี้.
DefaultColumnWidth() → std::stringเรียก DefaultColumnWidth บนอินสแตนซ์ Table นี้.
DefaultColumnWidth(value: std::string)เรียก DefaultColumnWidth(value) บนอินสแตนซ์ Table นี้.
Border() → BorderInfoเรียก Border บนอินสแตนซ์ Table นี้.
Border(value: BorderInfo)เรียก Border(value) บนอินสแตนซ์ Table นี้.
DefaultCellBorder() → BorderInfoเรียก DefaultCellBorder บนอินสแตนซ์ Table นี้.
DefaultCellBorder(value: BorderInfo)เรียก DefaultCellBorder(value) บนอินสแตนซ์ Table นี้.
DefaultCellPadding() → MarginInfoเรียก DefaultCellPadding บนอินสแตนซ์ Table นี้.
DefaultCellPadding(value: MarginInfo)เรียก DefaultCellPadding(value) บนอินสแตนซ์ Table นี้.
DefaultCellTextState() → Aspose::Pdf::Text::TextStateเรียก DefaultCellTextState บนอินสแตนซ์ Table นี้.
DefaultCellTextState(value: Aspose::Pdf::Text::TextState)เรียก DefaultCellTextState(value) บนอินสแตนซ์ Table นี้.
Alignment() → Aspose::Pdf::HorizontalAlignmentเรียก Alignment บนอินสแตนซ์ Table นี้.
Alignment(value: Aspose::Pdf::HorizontalAlignment)เรียก Alignment(value) บนอินสแตนซ์ Table นี้.
Left() → floatเรียก Left บนอินสแตนซ์ Table นี้.
Left(value: float)เรียก Left(value) บนอินสแตนซ์ Table นี้.
Top() → floatเรียก Top บนอินสแตนซ์ Table นี้.
Top(value: float)เรียก Top(value) บนอินสแตนซ์ Table นี้.
BackgroundColor() → Aspose::Pdf::Colorเรียก BackgroundColor บนอินสแตนซ์ Table นี้.
BackgroundColor(value: Aspose::Pdf::Color)เรียก BackgroundColor(value) บนอินสแตนซ์ Table นี้.
IsBordersIncluded() → boolคืนค่า true หาก ‘borders included’ ถูกตั้งค่า.
IsBordersIncluded(value: bool)เรียก IsBordersIncluded(value) บนอินสแตนซ์ Table นี้.
RepeatingRowsCount() → intเรียก RepeatingRowsCount บนอินสแตนซ์ Table นี้.
RepeatingRowsCount(value: int)เรียก RepeatingRowsCount(value) บนอินสแตนซ์ Table นี้.
RepeatingColumnsCount() → intเรียก RepeatingColumnsCount บนอินสแตนซ์ Table นี้.
RepeatingColumnsCount(value: int)เรียก RepeatingColumnsCount(value) บนอินสแตนซ์ Table นี้.
IsBroken() → boolคืนค่า true หาก broken ถูกตั้งค่า.
IsBroken(value: bool)เรียก IsBroken(value) บนอินสแตนซ์ Table นี้.

ดูเพิ่มเติม

 ภาษาไทย