Table of Contents

Property DoglegLength

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DoglegLength

Gets or sets how long the doglegs are, as AutoCAD's DoglegLength: unscaled, as AutoCAD 2021's API reads it, the length the first leader's dogleg is drawn (its 40) over the Scale, else, where the MULTILEADER has no leader or its first meets the words at their top or bottom, its own (group 41, unscaled); 8 where the record gives none. Doglegs drawn 16 by TransformBy(GeoTransform3) by 2, 41 still 8, read 16; the first leader given 15 by SetDoglegLength(int, double) reads 15.

public double DoglegLength { get; set; }

Property Value

double

Set, written as the MULTILEADER's, and as each leader's (40) times the scale, as AutoCAD 2021 writes them: 3 at a scale of 2 gives 41 of 3 and doglegs of 6 (40); the bit of the overrides set. The content moves or the leaders are landed anew as AutoCAD 2021 does it: with one leader, on one side, the words or block move away from it by as much as its dogleg grew, words at (100, 50, 0) met on the right to (93, 50, 0) for a dogleg of 15 from 8; with leaders on both sides, or several on one, the content stays and each dogleg's start moves away from it, from (90, 48, 0) to (83, 48, 0) on the left and from (120.67, 48, 0) to (127.67, 48, 0) on the right, and every leader on the left of the words or on a side of a block is landed anew at it, as AutoCAD 2021 lands it, one moved off its landing snapped back, the length the doglegs have set too.

Exceptions

ArgumentOutOfRangeException

Thrown when the length set is below nought or not finite.

InvalidOperationException

Thrown when the MULTILEADER is erased.