Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Remarks

New table cells are created when you create a new Table. They cannot be created independent of a Table using the new keyword.

To retrieve and manipulate a table cell, use array index notation on a Table object. You can also use Element.GetElements(Element.Type.TableCell) to get all elements, of which you can check which ones are of type TableCell.

The following sample demonstrates getting a reference to a table cell at column 3 (4th column), row 2 (3rd row).

...

Name

Description

CellWidthUnits

Excerpt Include
WW8:TableCell.CellWidthUnitsWW8:
TableCell.CellWidthUnits
nopaneltrue

FirstMerged

Excerpt Include
WW8:TableCell.FirstMergedWW8:
TableCell.FirstMerged
nopaneltrue

FirstVerticalMerged

Excerpt Include
WW8:TableCell.FirstVerticalMergedWW8:
TableCell.FirstVerticalMerged
nopaneltrue

Merged

Excerpt Include
WW8:TableCell.MergedWW8:
TableCell.Merged
nopaneltrue

NoWrap

Excerpt Include
WW8:TableCell.NoWrapWW8:
TableCell.NoWrap
nopaneltrue

PreferredWidth

Excerpt Include
WW8:TableCell.PreferredWidthWW8:
TableCell.PreferredWidth
nopaneltrue

Shading

Excerpt Include
WW8:TableCell.ShadingWW8:
TableCell.Shading
nopaneltrue

VertAlignment

Excerpt Include
WW8:TableCell.VertAlignmentWW8:
TableCell.VertAlignment
nopaneltrue

VerticalMerged

Excerpt Include
WW8:TableCell.VerticalMergedWW8:
TableCell.VerticalMerged
nopaneltrue

...

Name

Description

ApplyFont(Font)

Excerpt Include
WW8:TableCell.ApplyFont(Font)WW8:
TableCell.ApplyFont(Font)
nopaneltrue

ApplyParagraphFormatting(ParagraphFormatting)

Excerpt Include
WW8:TableCell.ApplyParagraphFormatting(ParagraphFormatting)WW8:
TableCell.ApplyParagraphFormatting(ParagraphFormatting)
nopaneltrue

GetBorder(Border.Location)

Excerpt Include
WW8:TableCell.GetBorder(Border.Location)WW8:
TableCell.GetBorder(Border.Location)
nopaneltrue

GetPadding(TableCell.Location)

Excerpt Include
WW8:TableCell.GetPadding(TableCell.Location)WW8:
TableCell.GetPadding(TableCell.Location)
nopaneltrue

SetPadding(TableCell.Location, Int32)

Excerpt Include
WW8:TableCell.SetPadding(TableCell.Location, Int32)WW8:
TableCell.SetPadding(TableCell.Location, Int32)
nopaneltrue

...

Name

Description

Location

Excerpt Include
WW8:TableCell.LocationWW8:
TableCell.Location
nopaneltrue

VerticalAlignment

Excerpt Include
WW8:TableCell.VerticalAlignmentWW8:
TableCell.VerticalAlignment
nopaneltrue

WidthUnits

Excerpt Include
WW8:TableCell.WidthUnitsWW8:
TableCell.WidthUnits
nopaneltrue