Skip to main content

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

Obsolete. Adds a new blank table to the document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.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
)
<Obsolete("This method has become obsolete. Use the 'Create' method instead.")>
Function Add(
    pos As DocumentPosition,
    rowCount As Integer,
    columnCount As Integer,
    autoFitBehavior As AutoFitBehaviorType,
    fixedColumnWidths As Integer
) As Table

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