...
Description |
---|
Excerpt |
---|
The TableFormatting class is used to specify formatting that should be applied to a table. It also represents the table formatting of some named styles in the document. |
Signature | ||||
---|---|---|---|---|
| ||||
public sealed class TableFormatting
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public NotInheritable Class TableFormatting
{signature}
{remarks}There are two ways to obtain an instance of this class: Create a new normal table formatting object using [Document.CreateTableFormatting\(\)|Document.CreateTableFormatting()]. This will return a copy of a particular style's table formatting. The {{TableFormatting}} object that is returned can then be used in conjunction with methods in the [Element|Element] class to create tables with specific formatting.
The following example demonstrates both ways of getting table formatting, first by retrieving the NormalTable style's paragraph formatting from the document, second by retrieving a copy of the TableSimple1 style's paragraph formatting.
{remarks}
{example}{code:csharp|title=C#} |
Remarks |
---|
There are two ways to obtain an instance of this class: Create a new normal table formatting object using Document.CreateTableFormatting(). This will return a copy of a particular style's table formatting. The The following example demonstrates both ways of getting table formatting, first by retrieving the NormalTable style's paragraph formatting from the document, second by retrieving a copy of the TableSimple1 style's paragraph formatting. |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Properties |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
Methods |
---|
Name | Description | ||||
---|---|---|---|---|---|
|
...
|
...
|
...
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...