Distance or Length Tool
Activate the tool, then:

Select two points to measure their distance and display it in Algebra View, and to create at their midpoint in Graphics View a dynamic text containing the same value.

Select two lines to measure their distance and display it in Algebra View.

Select a point and a line to measure their distance and display it in Algebra View, and to create a dynamic text in Graphics View containing the same value.

Select a segment to measure its length and display it as a dynamic text in Graphics View.

Select a circle or an ellipse to measure their perimeter and display it in Algebra View, and to create a dynamic text in Graphics View containing the same value.

Select a polygon to measure its perimeter and display it in Algebra View, and to create a dynamic text in Graphics View containing the same value.