C# Класс AODL.Document.Content.Tables.TableBuilder

TableBuilder offer static methode to build table for different document types.
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateSpreadsheetTable ( AODL document, string tableName, string styleName ) : Table

Create a spreadsheet table.

CreateTextDocumentTable ( AODL document, string tableName, string styleName, int rows, int columns, double width, bool useTableRowHeader, bool useBorder ) : Table

Creates the text document table.

Приватные методы

Метод Описание
GetColumnCellWidth ( int columns, double tableWith ) : string

Gets the width of the column cell.

Описание методов

CreateSpreadsheetTable() публичный статический Метод

Create a spreadsheet table.
public static CreateSpreadsheetTable ( AODL document, string tableName, string styleName ) : Table
document AODL The document.
tableName string Name of the table.
styleName string Name of the style.
Результат Table

CreateTextDocumentTable() публичный статический Метод

Creates the text document table.
public static CreateTextDocumentTable ( AODL document, string tableName, string styleName, int rows, int columns, double width, bool useTableRowHeader, bool useBorder ) : Table
document AODL The document.
tableName string Name of the table.
styleName string Name of the style.
rows int The rows.
columns int The columns.
width double The width.
useTableRowHeader bool if set to true [use table row header].
useBorder bool The useBorder.
Результат Table