Description | |||||||||||
Get the envelope of a line in a specified dimension. For getting coordinates of dimension displayed in solid and same dimension is displayed in drawing then drawing should not be active. | |||||||||||
Synopsis | |||||||||||
#include <ProDimension.h> | |||||||||||
ProError | ProDimensionEnvelopeGet | ( | |||||||||
ProDimension* dimension | |||||||||||
/* (In) | |||||||||||
dimension. | |||||||||||
*/ | |||||||||||
ProDrawing drawing | |||||||||||
/* (In) | |||||||||||
drawing. Pass only for solid dim shown in drawing. Otherwise pass NULL. | |||||||||||
*/ | |||||||||||
int line_number | |||||||||||
/* (In) | |||||||||||
The line number of the dimension. If PRO_VALUE_UNUSED, it will give full dimension envelope. | |||||||||||
*/ | |||||||||||
ProLineEnvelope envelope | |||||||||||
/* (Out) | |||||||||||
The envelope surrounding the text line, in the model's coordinate system. For drawing it is in the screen coordinates. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|