70001104 Measure and Devide an entity in WebControl

Article 70001104
Type Wish
Product WebJS
Version 7
Date Added 6/19/2017
Fixed 7.7012.0.1 (6/21/2017)
Submitted by Kostas Androulakis

Summary

I would like to have tha ability to masure the length an entity like line or rect etc and also to devide an entity to a predefined number of same length pieces.

Solution

In version 7012.0.1 a new MeasureCurve method has been exported which calculates an array of points over the entity, where each point has a distance equal to length from the previous point.
Also another new GetEntityLength method has been exported which calculates the length of the passes entity.

Send comments on this topic.