User's Guide > Drawings > Drawing Tables > Drawing Tables Operations
Drawing Tables Operations
Methods Introduced:
The method IpfcTable.Erase() erases the specified table temporarily from the display. It still exists in the drawing. The erased table can be displayed again using the method IpfcTable.Display(). The table will also be redisplayed by a window repaint or a regeneration of the drawing. Use these methods to hide a table from the display while you are making multiple changes to the table.
The method IpfcTable.RotateClockwise() rotates a table clockwise by the specified amount of rotation.
The method IpfcTable.InsertRow() inserts a new row in the drawing table. Set the value of the parameter RowHeight to specify the height of the row. Set the value of the parameter InsertAfterRow to specify the row number after which the new row has to be inserted. Specify 0 to insert a new first row.
The method IpfcTable.InsertColumn() inserts a new column in the drawing table. Set the value of the parameter ColumnWidth to specify the width of the column. Set the value of the parameter InsertAfterColumn to specify the column number after which the new column has to be inserted. Specify 0 to insert a new first column.
The method IpfcTable.MergeRegion() merges table cells within a specified range of rows and columns to form a single cell. The range is a rectangular region specified by the table cell on the upper left of the region and the table cell on the lower right of the region.
The method IpfcTable.SubdivideRegion() removes merges from a region of table cells that were previously merged. The region to remove merges is specified by the table cell on the upper left of the region and the table cell on the lower right of the region.
The methods IpfcTable.DeleteRow() and IpfcTable.DeleteColumn() delete any specified row or column from the table. The methods also remove the text from the affected cells.
The method IpfcTable.SetText() sets text in the table cell.
Use the method IpfcTableOwner.DeleteTable() to delete a specified drawing table from the model permanently. The deleted table cannot be displayed again.
* 
Many of the above methods provide a parameter Repaint If this is set to true the table will be repainted after the change. If set to false or null Creo+ will delay the repaint, allowing you to perform several operations before showing changes on the screen.
Was this helpful?