API 文件集 > Drawings and detail > Object ProDrawing > Function ProDrawingDimensionPosGet
Function ProDrawingDimensionPosGet
Description
Note: The coordinates returned by this function are offset from the coordinates needed by ProDrawingDimensionMove(). Use ProDimlocationTextGet() instead Gets dimension position in drawing (the center of the text box ).
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingDimensionPosGet
(
ProDrawing drawing
/* (In)
The drawing in which the dimension is displayed.
*/
ProDimension* dimension
/* (In)
The dimension.
*/
ProVector location
/* (Out)
3D vector representing the dimension position
*/
)
Returns
one or more of the input arguments are invalid.
failed to get dimension text coordinate.
the location is found.
Sample Code References
這是否有幫助?