Table

Tổng quan

Table là một lớp trong Aspose.PDF FOSS cho C++.

Lớp Table cho phép các nhà phát triển xây dựng các bảng PDF với khả năng kiểm soát đầy đủ các hàng, độ rộng cột, viền, khoảng đệm ô và trạng thái văn bản mặc định.

Lớp này cung cấp 30 phương thức để làm việc với các đối tượng Table trong các chương trình C++. Các phương thức khả dụng bao gồm: Alignment, BackgroundColor, Border, ColumnWidths, DefaultCellBorder, DefaultCellPadding, DefaultCellTextState, DefaultColumnWidth, IsBordersIncluded, IsBroken, Left, RepeatingColumnsCount, và 3 phương thức bổ sung. Tất cả các thành viên công khai đều có thể truy cập từ bất kỳ ứng dụng C++ nào sau khi cài đặt gói Aspose.PDF FOSS cho C++.

Phương thức

Chữ kýMô tả
Rows() → Aspose::Pdf::RowsGọi Rows trên instance Table này.
Rows() → Aspose::Pdf::Rows
ColumnWidths() → std::stringGọi ColumnWidths trên instance Table này.
ColumnWidths(value: std::string)Gọi ColumnWidths(value) trên instance Table này.
DefaultColumnWidth() → std::stringGọi DefaultColumnWidth trên đối tượng Table này.
DefaultColumnWidth(value: std::string)Gọi DefaultColumnWidth(value) trên đối tượng Table này.
Border() → BorderInfoGọi Border trên đối tượng Table này.
Border(value: BorderInfo)Gọi Border(value) trên đối tượng Table này.
DefaultCellBorder() → BorderInfoGọi DefaultCellBorder trên đối tượng Table này.
DefaultCellBorder(value: BorderInfo)Gọi DefaultCellBorder(value) trên đối tượng Table này.
DefaultCellPadding() → MarginInfoGọi DefaultCellPadding trên đối tượng Table này.
DefaultCellPadding(value: MarginInfo)Gọi DefaultCellPadding(value) trên đối tượng Table này.
DefaultCellTextState() → Aspose::Pdf::Text::TextStateGọi DefaultCellTextState trên đối tượng Table này.
DefaultCellTextState(value: Aspose::Pdf::Text::TextState)Gọi DefaultCellTextState(value) trên đối tượng Table này.
Alignment() → Aspose::Pdf::HorizontalAlignmentGọi Alignment trên đối tượng Table này.
Alignment(value: Aspose::Pdf::HorizontalAlignment)Gọi Alignment(value) trên đối tượng Table này.
Left() → floatGọi Left trên thể hiện Table này.
Left(value: float)Gọi Left(value) trên thể hiện Table này.
Top() → floatGọi Top trên thể hiện Table này.
Top(value: float)Gọi Top(value) trên thể hiện Table này.
BackgroundColor() → Aspose::Pdf::ColorGọi BackgroundColor trên đối tượng Table này.
BackgroundColor(value: Aspose::Pdf::Color)Gọi BackgroundColor(value) trên đối tượng Table này.
IsBordersIncluded() → boolTrả về true nếu borders included được thiết lập.
IsBordersIncluded(value: bool)Gọi IsBordersIncluded(value) trên đối tượng Table này.
RepeatingRowsCount() → intGọi RepeatingRowsCount trên đối tượng Table này.
RepeatingRowsCount(value: int)Gọi RepeatingRowsCount(value) trên đối tượng Table này.
RepeatingColumnsCount() → intGọi RepeatingColumnsCount trên đối tượng Table này.
RepeatingColumnsCount(value: int)Gọi RepeatingColumnsCount(value) trên đối tượng Table này.
IsBroken() → boolTrả về true nếu broken được đặt.
IsBroken(value: bool)Gọi IsBroken(value) trên đối tượng Table này.

Xem thêm

 Tiếng Việt