[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CellFormat

CellFormat Class

Represents formatting for a table cell.

Inheritance
CellFormat
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class CellFormat : FormattingBag
Public Class CellFormat
    Inherits FormattingBag

Properties

Name Description
Borders

Gets the collection of borders of a cell.

FitText

Gets or sets a value indicating whether to fit text in a cell, compressing each paragraph to the width of the cell.

GridSpan

Gets or sets the number of grid columns in the parent table's table grid that shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table.

HorizontalMerge

Gets or sets a value specifying how a cell is merged horizontally with other cells in the row.

Padding

Gets the cell paddings for a cell.

PreferredWidth

Gets or sets the preferred width of a cell.

Shading

Gets shading formatting for a cell.

TableFormat

Gets the base table formatting properties for this cell.

TextFlowDirection

Gets or sets the orientation of text in a cell.

VerticalAlignment

Gets or sets the vertical alignment of text in a cell.

VerticalMerge

Gets or sets a value specifying how a cell is merged with other cells vertically.

WordWrap

Gets or sets a value indicating whether to wrap text in a cell.

Methods

Name Description
ClearFormatting()

Resets to default cell formatting.