Skip to main content

ApiTablePr

Represents the ApiTablePr class.

Methods

MethodReturnsDescription
GetClassType"tablePr"Returns a type of the ApiTablePr class.
GetTableDescriptionstringReturns the table description.
GetTableTitlestringReturns the table title (caption).
SetCellSpacingNoneSpecifies the default table cell spacing (the spacing between adjacent cells and the edges of the table).
SetJcNoneSpecifies the alignment of the current table with respect to the text margins in the current section.
SetShdNoneSpecifies the shading which is applied to the extents of the current table.
SetStyleColBandSizeNoneSpecifies a number of columns which will comprise each table column band for this table style.
SetStyleRowBandSizeNoneSpecifies a number of rows which will comprise each table row band for this table style.
SetTableBorderBottomNoneSets the border which will be displayed at the bottom of the current table.
SetTableBorderInsideHNoneSpecifies the border which will be displayed on all horizontal table cell borders which are not on the outmost edge\ of the parent table (all horizontal borders which are not the topmost or bottommost borders).
SetTableBorderInsideVNoneSpecifies the border which will be displayed on all vertical table cell borders which are not on the outmost edge\ of the parent table (all vertical borders which are not the leftmost or rightmost borders).
SetTableBorderLeftNoneSets the border which will be displayed on the left of the current table.
SetTableBorderRightNoneSets the border which will be displayed on the right of the current table.
SetTableBorderTopNoneSets the border which will be displayed at the top of the current table.
SetTableCellMarginBottomNoneSpecifies an amount of space which will be left between the bottom extent of the cell contents and the border\ of all table cells within the parent table (or table row).
SetTableCellMarginLeftNoneSpecifies an amount of space which will be left between the left extent of the cell contents and the left\ border of all table cells within the parent table (or table row).
SetTableCellMarginRightNoneSpecifies an amount of space which will be left between the right extent of the cell contents and the right\ border of all table cells within the parent table (or table row).
SetTableCellMarginTopNoneSpecifies an amount of space which will be left between the top extent of the cell contents and the top border\ of all table cells within the parent table (or table row).
SetTableDescriptionbooleanSets the table description.
SetTableIndNoneSpecifies the indentation which will be added before the leading edge of the current table in the document\ (the left edge in the left-to-right table, and the right edge in the right-to-left table).
SetTableLayoutNoneSpecifies the algorithm which will be used to lay out the contents of the current table within the document.
SetTableTitlebooleanSets the table title (caption).
SetWidthNoneSets the preferred width to the current table.\ 💡 Tables are created with the ApiTable#SetWidth method properties set by default, which always override the ApiTablePr#SetWidth method properties. That is why there is no use to try and apply ApiTablePr#SetWidth. We recommend you to use the ApiTablePr#SetWidth method instead.
ToJSONJSONConverts the ApiTablePr object into the JSON object.