@JimP
Thanks, but that was also my first idea.
But that didn't work. As I found out by that time, neither the shapesheet nor the "Position & Size" sheet in Visio shows the real overall length of a line if it's not just a straight one, but for instance a freehand line.