API ドキュメンテーション > Selection > Object ProSelection > Function ProSelectionDwgtblcellGet
Function ProSelectionDwgtblcellGet
Description
For a ProSelection representing a cell of a drawing table, returns the table segment, row and column of the cell.
This function returns row and column indices starting from 0.0. Add one to these values to obtain the correct row and column indices for use with other ProDwgtable functions.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSelection.h>
ProSelectionDwgtblcellGet
(
ProSelection selection
/* (In)
ProSelection representing a cell of a drawing table.
*/
int* table_segment
/* (Out)
Corresponding table segment, equals sel_elem_id of selection.
*/
int* row
/* (Out)
row of table which contains the cell.
*/
int* column
/* (Out)
column of the table which contains the cell.
*/
)
Returns
The function successfully set the selected-point of the ProSelection.
Sample Code References
User Guide References
これは役に立ちましたか?