# How do I determine the height of a vector path (e_path)?

Q: Is there a way to determine the height of a vector path (e_path)? I
know how to get the Line Width using the graphic state
(gs.GetLineWidth), but cannot seem to get the vertical dimension of
the path.
---------
A: You could use element.GetBBox(rect) which will give you the
bounding box for the path (then use bbox.Width/Height()).
Alternatively you could use element. GetPathPoints/GetPointCount/
GetPathTypes/GetPathTypesCount() to get the entire path geometry which
you could use to compute the required info.