Modifying Drawing Tables
Functions Introduced:
To accommodate a wrapped text in a table row, you can use the
Creo TOOLKIT functions to automatically adjust the height of the row to accommodate the entire text content. The functions
ProDwgtableRowheightAutoadjustGet() and
ProDwgtableRowheightAutoadjustSet() get and set the automatic row height adjustment property for a row of a drawing table. These functions use the enumerated type
ProDwgtableRowheightAutoadjusttype, which has the following values:
• PRODWGTBLROWHEIGHT_AUTOADJUST_FALSE—Specifies that the automatic row height adjustment property is not set.
• PRODWGTBLROWHEIGHT_AUTOADJUST_TRUE—Specifies that the automatic row height adjustment property is set.
• PRODWGTBLROWHEIGHT_AUTOADJUST_TRUE_LEGACY—Specifies a pre-
Creo Parametric 1.0 release behavior. In this behavior, sometimes the row height may be automatically adjusting and sometimes may not be automatically adjusting. To set an explicit row adjustment status use the function
ProDwgtableRowheightAutoadjustSet().
The method
ProDwgtableCelltextWrap() wraps the text in a cell.