M
Markus B.
Hi ng,
I tried do to some calculations based on the length of
several Connector-Shapes. So I wrote this code to get the
length:
Private Function Get_Length (vsoConnector as Shape)
Dim dLength As Double
...
...
dLength = vsoConnector.LengthIU
Get_Length = dLength
End Function
This routine is called by a function which is called for
every connector. The connector is always 1D. But it
doesn´t work solid: dLength is often the same. Only in
debug-modus I get the correct length!!!???
I am also afraid that the LengthIU proberty returns the
shortest distance between the "Begin" and the "End" point
of the connector and not it´s real length.
Best regards
Markus
I tried do to some calculations based on the length of
several Connector-Shapes. So I wrote this code to get the
length:
Private Function Get_Length (vsoConnector as Shape)
Dim dLength As Double
...
...
dLength = vsoConnector.LengthIU
Get_Length = dLength
End Function
This routine is called by a function which is called for
every connector. The connector is always 1D. But it
doesn´t work solid: dLength is often the same. Only in
debug-modus I get the correct length!!!???
I am also afraid that the LengthIU proberty returns the
shortest distance between the "Begin" and the "End" point
of the connector and not it´s real length.
Best regards
Markus