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

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

OBSOLETE

This method has become obsolete. Use the 'Create' method instead.

Adds a new blank table to the document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

[Obsolete("This method has become obsolete. Use the 'Create' method instead.")]
Table Add(
    DocumentPosition pos,
    int rowCount,
    int columnCount,
    AutoFitBehaviorType autoFitBehavior,
    int fixedColumnWidths
)

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition specifying a position at which to create a table.

rowCount Int32

An integer specifying the number of rows in a table.

columnCount Int32

An integer specifying the number of columns in a table.

autoFitBehavior AutoFitBehaviorType

An AutoFitBehaviorType enumeration member specifying how the table (and cell) width is calculated.

fixedColumnWidths Int32

Specifying the column width.

Returns

Type Description
Table

A Table interface specifying a newly created table.

Remarks

The last parameter, specifying fixed column width, is in effect only for the AutoFitBehaviorType.FixedColumnWidth value of the previous parameter.

See Also