ApiTable
ApiTable is a subclass of ApiDrawing.
Methods
| Method | Returns | Description |
|---|---|---|
| AddColumn | boolean | Adds a new column to the end of the current table. |
| AddRow | ApiTableRow | Adds a new row to the current table. |
| Copy | ApiTable | Creates a copy of the specified table. |
| Delete | boolean | Deletes the specified drawing object from the parent. |
| GetClassType | "table" | Returns the type of the ApiTable object. |
| GetHeight | EMU | Returns the height of the current drawing. |
| GetInternalId | string | Returns an internal ID of the current drawing. |
| GetParentPage | ApiPage | Returns the type of the ApiDrawing class. |
| GetPosX | EMU | Gets the x position of the drawing on the page. |
| GetPosY | EMU | Gets the y position of the drawing on the page. |
| GetRotation | number | Returns the rotation angle of the current drawing object. |
| GetRow | ApiTableRow | Returns a row by its index. |
| GetWidth | EMU | Returns the width of the current drawing. |
| MergeCells | ApiTableCell | Merges an array of cells. If merge is successful, it will return merged cell, otherwise "null". |
| RemoveColumn | boolean | Removes a table column with the specified cell. |
| RemoveRow | boolean | Removes a table row with the specified cell. |
| Select | boolean | Selects the current graphic object. |
| SetPosX | boolean | Sets the x position of the drawing on the page. |
| SetPosY | boolean | Sets the y position of the drawing on the page. |
| SetPosition | boolean | Sets the position of the drawing on the page. |
| SetRotation | boolean | Sets the rotation angle to the current drawing object. |
| SetShd | boolean | Specifies the shading which shall be applied to the extents of the current table. |
| SetSize | boolean | Sets the size of the object (image, shape, chart) bounding box. |
| SetTableLook | boolean | Specifies the components of the conditional formatting of the referenced table style (if one exists) |