Table

Table class

Represents a table on a slide.

getColumns

NameDescription
getColumns ()Returns the collectoin of columns. Read-only IColumnCollection.

Returns: ColumnCollection


getFirstCol

NameDescription
getFirstCol ()Determines whether the first column of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean


getFirstRow

NameDescription
getFirstRow ()Determines whether the first row of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean


getHorizontalBanding

NameDescription
getHorizontalBanding ()Determines whether the even rows has to be drawn with a different formatting. Read/write boolean.

Returns: boolean


getLastCol

NameDescription
getLastCol ()Determines whether the last column of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean


getLastRow

NameDescription
getLastRow ()Determines whether the last row of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean


getRightToLeft

NameDescription
getRightToLeft ()Determines whether the table has right to left reading order. Read-write boolean.

Returns: boolean


getRows

NameDescription
getRows ()Returns the collectoin of rows. Read-only IRowCollection.

Returns: RowCollection


getStylePreset

NameDescription
getStylePreset ()Gets or sets builtin table style. Read/write TableStylePreset.

Returns: int


getTableFormat

NameDescription
getTableFormat ()Returns the TableFormat object that contains formatting properties for this table. Read-only ITableFormat.

Returns: TableFormat


getVerticalBanding

NameDescription
getVerticalBanding ()Determines whether the even columns has to be drawn with a different formatting. Read/write boolean.

Returns: boolean


get_Item

NameDescription
get_Item (int, int)Returns the cell at the specified column and row indexes. Read-only Cell.

Returns: Cell


mergeCells

NameDescription
mergeCells (Cell, Cell, boolean)Merges neighbour cells.

Parameters:

NameTypeDescription
cell1CellCell to merge.
cell2CellCell to merge.
allowSplittingbooleanTrue to allow cells splitting.

Returns: Cell


setFirstCol

NameDescription
setFirstCol (boolean)Determines whether the first column of a table has to be drawn with a special formatting. Read/write boolean.

setFirstRow

NameDescription
setFirstRow (boolean)Determines whether the first row of a table has to be drawn with a special formatting. Read/write boolean.

setHorizontalBanding

NameDescription
setHorizontalBanding (boolean)Determines whether the even rows has to be drawn with a different formatting. Read/write boolean.

setLastCol

NameDescription
setLastCol (boolean)Determines whether the last column of a table has to be drawn with a special formatting. Read/write boolean.

setLastRow

NameDescription
setLastRow (boolean)Determines whether the last row of a table has to be drawn with a special formatting. Read/write boolean.

setRightToLeft

NameDescription
setRightToLeft (boolean)Determines whether the table has right to left reading order. Read-write boolean.

setStylePreset

NameDescription
setStylePreset (int)Gets or sets builtin table style. Read/write TableStylePreset.

setTextFormat

NameDescription
setTextFormat (PortionFormat)Sets defined portion format properties to all table cells’ portions.

Parameters:

NameTypeDescription
sourcePortionFormatIPortionFormat object with necessary properties set.

setTextFormat

NameDescription
setTextFormat (ParagraphFormat)Sets defined paragraph format properties to all table cells’ paragraphs.

Parameters:

NameTypeDescription
sourceParagraphFormatIParagraphFormat object with necessary properties set.

setTextFormat

NameDescription
setTextFormat (TextFrameFormat)Sets defined text frame format properties to all table cells’ text frames.

Parameters:

NameTypeDescription
sourceTextFrameFormatITextFrameFormat object with necessary properties set.

setVerticalBanding

NameDescription
setVerticalBanding (boolean)Determines whether the even columns has to be drawn with a different formatting. Read/write boolean.