Skip to main content

ApiTable

ApiTable is a subclass of ApiDrawing.

Methods

MethodReturnsDescription
AddColumnbooleanAdds 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.
GetClassType"table"Returns the type of the ApiTable object.
GetHeightEMUReturns the height of the current drawing.
GetInternalIdstringReturns an internal ID of the current drawing.
GetParentPageApiPageReturns the type of the ApiDrawing class.
GetPosXEMUGets the x position of the drawing on the page.
GetPosYEMUGets the y position of the drawing on the page.
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.
SelectbooleanSelects the current graphic object.
SetPosXbooleanSets the x position of the drawing on the page.
SetPosYbooleanSets the y position of the drawing on the page.
SetPositionbooleanSets the position of the drawing on the page.
SetRotationbooleanSets the rotation angle to the current drawing object.
SetShdbooleanSpecifies the shading which shall be applied to the extents of the current table.
SetSizebooleanSets the size of the object (image, shape, chart) bounding box.
SetTableLookbooleanSpecifies the components of the conditional formatting of the referenced table style (if one exists)