API 文件集 > Miscellaneous > Object ProTable > Function ProTableSegMove
Function ProTableSegMove
Description
This function moves a table segment and optionally displays it in the new position.
Synopsis
#include <ProTable.h>
ProTableSegMove
(
ProTable* p_table
/* (In)
The table whose segment you want to move
*/
int segment
/* (In)
The ID of the segment to move(Segment Id starts with 0). Pass PRO_VALUE_UNUSED for a single segment table.
*/
ProVector new_pos
/* (In)
The new origin position for the table segment. For drawing tables specify in world units (drawing sheet coordinates). For model tables on a regular annotation plane specify in model units (relative to the model coordinate system). For flat-to-screen tables specify in screen coordinates (typically 1000 x 843).
*/
ProBoolean display
/* (In)
Whether to show the table segment in the new position.
*/
)
Returns
Success
The table could not be moved.
PRO_VALUE_UNUSED was used for multiple-segment table.
這是否有幫助?