Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

TableCollection.Create(DocumentPosition, Int32, Int32, AutoFitBehaviorType) Method

Inserts a blank table with the specified number of rows and columns at the specified position.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

Table Create(
    DocumentPosition pos,
    int rowCount,
    int columnCount,
    AutoFitBehaviorType autoFitBehavior
)

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition at which a table is inserted.

rowCount Int32

An integer specifying the number of rows in a new table.

columnCount Int32

An integer specifying the number of columns in a new table.

autoFitBehavior AutoFitBehaviorType

An AutoFitBehaviorType enumeration value specifying how the column widths are calculated.

Returns

Type Description
Table

A Table interface specifying the newly created table.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Create(DocumentPosition, Int32, Int32, AutoFitBehaviorType) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also