[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableFormat

Class TableFormat

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents formatting of a table.

public class TableFormat : TableFormatBase
Inheritance
object
TableFormat
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Bidi

Gets or sets a value indicating whether the cells in this table shall be visually represented in a right to left direction. This property also affects the application of all table-level properties. When this property is specified, then the ordering of all cells (and table-level properties) in this table shall be applied to the table assuming that the table is a normal left to right table, but the table cells shall be displayed in a right to left direction.

public bool Bidi { get; set; }

Property Value

bool

Description

Gets or sets the description of the table.

public string Description { get; set; }

Property Value

string

Position

Gets the position of the table with regard to floating tables.

This property has effect only if WrapAroundText is true.

public TablePosition Position { get; }

Property Value

TablePosition

TableGrid

Gets the table grid for the current table. The table grid is a definition of the set of grid columns that define all of the shared vertical edges of the table, as well as default widths for each of these grid columns. These grid column widths are then used to determine the size of the table based on the table layout algorithm.

public List<float> TableGrid { get; }

Property Value

System.Collections.Generic.List<T><float>

Title

Gets or sets the table title.

public string Title { get; set; }

Property Value

string

WrapAroundText

Gets or sets a value indicating whether the current table is actually a floating table.

public bool WrapAroundText { get; set; }

Property Value

bool

Methods

ClearFormatting()

Resets to default table formatting.

public override void ClearFormatting()

SetAlignment(TableAlignment)

Sets how the table is aligned in the document.

protected override void SetAlignment(TableAlignment value)

Parameters

value TableAlignment

The TableAlignment value.