Get endpoints of a DisplayDimension

How can I get the endpoints (of the arrows) of a DisplayDimension? I need the xyz coordinates.

I also need the coordinates of the text.

SolidworksApi macros