API Documentation > Dimensions > Object ProDimlocation > Function ProDimlocationCenterleadertypeGet
Function ProDimlocationCenterleadertypeGet
Description
Obtains the type of center leader used for the dimension, if this dimension uses a center leader.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDimension.h>
ProDimlocationCenterleadertypeGet
(
/* (In)
The dimension location data, extracted from ProDimensionLocationGet()
*/
ProDimCenterLeaderType* center_leader_type
/* (Out)
The type of center leader used for the dimension.
*/
ProLeaderType* leader_type
/* (Out)
The leader end symbol.
*/
double* elbow_length
/* (Out)
The length of the elbow. If the type is "Parallel above" or "Parallel below" this value should be ignored.
*/
ProVector elbow_direction
/* (Out)
The direction of the elbow, from the dimension text to the dimension leader. If the type is "Parallel above" or "Parallel below", this should be ignored.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
This dimension does not use a center leader type of construction.
User Guide References
Was this helpful?