

Set this property to WidthType.Auto to make table automatically fit the content. Specifies the width type (exact, automatic, etc.). If the property is set to HeightType.Auto, the TableCell.Height property is ignored.

Specifies the height type (exact, automatic or minimum). If the property is set to HeightType.Auto, the TableRow.Height property is ignored. Use members from the table below to change the table row/column width and height to a fixed value or make it automatically fit the content. Set the RichEditControlCompatibility.MergeSuccessiveTables property to false to keep successive tables with the same direction separate. Successive tables with different directions are not merged. Method to insert a new table right before of after the existing table, these tables are merged, and the Create method returns the resulting table. When you call the TableCollection.Create Creates a new table at the specified position. Use the ReadOnlyParagraphCollection.Get(DocumentPosition) method to obtain the paragraph where the DocumentPosition is located. The RightToLeft property of all cell paragraphs is also set to true. If the paragraph’s RightToLeft property is set to true, the table’s RightToLeft property is automatically set to true. The inserted table’s text direction depends on the RightToLeft property value of a paragraph where the table should be inserted. Right-to-Left Direction in Inserted Tables Using wordProcessor As New RichEditDocumentServer()ĭim document As Document = wordProcessor.Documentĭim table As Table = (, 2, 2) Using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())ĭocument document = wordProcessor.Document The code sample below creates a table with three columns and four rows:

Inserts a new column after the specified column. Inserts a new column before a specified column. Inserts a new row after the specified row. Inserts a new row before the specified row. MemberĬreates a new table at the specified position. Use members from the table below to create a table and add new rows and columns. Retrieves a table located in the specified document range. The table below lists API used to access and update tables. View Example: Word Processing File API - Table Examples Basic API: Access a Table This topic describes how to use the RichEditDocumentServer to create a complex table (see the image below).
