Method SetDoglegLength
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetDoglegLength(int, double)
Gives a leader's dogleg its length, as AutoCAD's SetDoglegLength: drawn times the Scale (group 40
of the leader), as AutoCAD 2021 writes it, 2 for 1 at a scale of 2, and the bit of the overrides of the doglegs (7) set,
the length it has too. The content or the leader moves as DoglegLength says: the content, where the
leader is the only one of its side and none meets the content on the other; else the leader's start alone, as AutoCAD
2021 moves it: of two leaders landed at (150, 38, 0) on the left of words at (160, 40, 0), the second given 15 starts at
(143, 38, 0), the words and the first staying.
public void SetDoglegLength(int leaderIndex, double doglegLength)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when the MULTILEADER has no leader of the index, or the length is below nought or not finite.
- InvalidOperationException
Thrown when the MULTILEADER is erased.