API 설명서 > Drawings and detail > Object ProDrawing > Function ProDrawingPosToLocgrid
Function ProDrawingPosToLocgrid
Description
Outputs the location grid column and row for a specified location in screen coordinates.
Synopsis
#include <ProDrawing.h>
ProDrawingPosToLocgrid
(
ProDrawing p_draw
/* (In)
The drawing
*/
int sheet
/* (In)
The sheet number
*/
/* (In)
The location in screen coordinates
*/
ProName column_label
/* (Out)
The label on the corresponding location grid column.
*/
ProName row_label
/* (Out)
The label on the corresponding location grid row.
*/
)
Returns
Drawing is invalid, or specified sheet does not exist
No location grid is defined on the specified sheet
'pos' is outside of the location grid
User Guide References
도움이 되셨나요?