Skip to main content

ApiTable

ApiTable is a subclass of ApiDrawing.

Methods

MethodReturnsDescription
AddColumnNoneAdds a new column to the end of the current table.
AddRowApiTableRowAdds a new row to the current table.
CopyApiTableCreates a copy of the specified table.
DeletebooleanDeletes the specified drawing object from the parent.
FillbooleanSets the fill formatting properties to the current graphic object.
GetClassType"table"Returns the type of the ApiTable object.
GetColumnWidthEMU | nullReturns the width of the specified column (by index) of the current table.
GetFlipHboolean | nullGet horizontal flip of current drawing.
GetFlipVboolean | nullGet vertical flip of current drawing.
GetHeightEMUReturns the height of the current drawing.
GetHyperlinkApiHyperlink | nullReturns the hyperlink from the current drawing object (shape or image).
GetInternalIdstringReturns an internal ID of the current drawing object.
GetLockValuebooleanReturns the lock value for the specified lock type of the current drawing.
GetNamestringReturns the name of the current drawing.
GetParentApiSlide | ApiLayout | ApiMaster | nullReturns the drawing parent object.
GetParentLayoutApiLayout | nullReturns the drawing parent slide layout.
GetParentMasterApiMaster | nullReturns the drawing parent slide master.
GetParentSlideApiSlide | nullReturns the drawing parent slide.
GetPlaceholderApiPlaceholder | nullReturns a placeholder from the current drawing object.
GetPosXEMUGets the x position of the drawing on the slide.
GetPosYEMUGets the y position of the drawing on the slide.
GetRotationnumberReturns the rotation angle of the current drawing object.
GetRowApiTableRowReturns a row by its index.
GetWidthEMUReturns the width of the current drawing.
MergeCellsApiTableCellMerges an array of cells. If merge is successful, it will return merged cell, otherwise "null".
RemoveColumnbooleanRemoves a table column with the specified cell.
RemoveRowbooleanRemoves a table row with the specified cell.
ReplacePlaceholderbooleanReplaces the placeholder by a drawing on the slide.
SelectbooleanSelects the current graphic object.
SetColumnWidthEMU | nullSets the width of the specified column in the current table.
SetFlipHbooleanSets the horizontal flip of the current drawing.
SetFlipVbooleanSets the vertical flip of the current drawing.
SetHyperlinkbooleanSets a hyperlink to the current drawing object (shape or image).
SetLockValuebooleanSets the lock value to the specified lock type of the current drawing.
SetNamebooleanSets the name of the current drawing.
SetOutLinebooleanSets the outline properties to the specified graphic object.
SetPlaceholderbooleanSets the specified placeholder to the current drawing object.
SetPosXbooleanSets the x position of the drawing on the slide.
SetPosYbooleanSets the y position of the drawing on the slide.
SetPositionNoneSets the position of the drawing on the slide.
SetRotationbooleanSets the rotation angle to the current drawing object.
SetShdNoneSpecifies the shading which shall be applied to the extents of the current table.
SetSizeNoneSets the table size.
SetTableLookNoneSpecifies the components of the conditional formatting of the referenced table style (if one exists)
ToJSONJSONConverts the ApiTable object into the JSON object.
UnselectbooleanRemoves the current graphic object from the selection.