Category Drawings and detail, Object ProDwgtable

Function ProDwgtableCellsMerge


DEPRECATED: Creo 11.0
SUPERSEDED BY: ProTableCellsMerge
Description
Takes a rectangular region of cells and merges them into a composite cell. The merged cells, rows, or columns are deleted, and the table's appearance will be restored using prodrw_remesh_table_cells(). This function is equivalent to the Creo Parametric option Drawing, Table, Mod Rows/Col, Merge. Restrictions placed in the user interface also apply here. For example, borders of merge cannot intersect the borders of another merge or repeat region.
Replacement in Object TOOLKIT: pfcTable::MergeRegion
Synopsis
#include <ProDwgtable.h>
ProErrorProDwgtableCellsMerge(
ProDwgtable* table
/* (In)
The table
*/
int start_column
/* (In)
The leftmost column of the merged cell
*/
int start_row
/* (In)
The upper row of the merged cell
*/
int end_column
/* (In)
The rightmost column of the merged cell
*/
int end_row
/* (In)
The bottom row of the merged cell
*/
int display
/* (In)
Flag that specifies whether or not the table is to be displayed after creation.
*/
)
Returns
PRO_TK_NO_ERRORSuccess;
PRO_TK_GENERAL_ERRORFailure.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Model-Based Definition and Drawing Tables: Modifying MBD or Drawing Tables
  3. Model-Based Definition and Drawing Tables: Modifying MBD or Drawing Tables

Sample Code References:

  1. pt_examples ( TestDrawTbl.c )
  2. pt_examples ( TestDrawTbl.c )
  3. pt_examples ( TestDrawTbl.c )
  4. pt_userguide ( UgDwgtableExamples.c )
  5. pt_userguide ( UgDwgtableExamples.c )