Click or drag to resize
TextRangeInsertTable Method
(TOM 2 only) Inserts a table in a range.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public void InsertTable(
	int columns,
	int rows,
	bool autoFit
)

Parameters

columns
Type: SystemInt32
The number of columns in the table.
rows
Type: SystemInt32
The number of rows in the table.
autoFit
Type: SystemBoolean
Specifies how the cells fit the target space.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
NotImplementedException The TOM implementation used by the range does not support tables.
See Also