User's Guide > Drawings > Modifying Drawing Tables
Modifying Drawing Tables
Functions Introduced:
ProDwgtableRowheightAutoadjustGet()
ProDwgtableRowheightAutoadjustSet()
ProDwgtableCelltextWrap()
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().
Note:
 
The value PRODWGTBLROWHEIGHT_AUTOADJUST_TRUE_LEGACY is not applicable to the function ProDwgtableRowheightAutoadjustSet().
When using the function ProDwgtableRowheightAutoadjustSet() any changes in the height of a row will be seen only after the next regeneration, or a call to the function ProDrawingTablesUpdate().
The method ProDwgtableCelltextWrap() wraps the text in a cell.
这对您有帮助吗?