This project has moved. For the latest updates, please go here.

Text in Leaders

Jul 7, 2016 at 12:43 AM
How do you get Text inside Multi-Leaders? See Image below but I can't find a .Entities like with the Block object.

Image

Thanks, Rian
Coordinator
Jul 7, 2016 at 7:28 PM
Edited Jul 8, 2016 at 12:59 AM
What you have selected in your image is actually a multileader entity. netDxf only supports leaders not multileaders. The Leader entity is an older more simplified way of drawing leaders.

The Leader entity does not have an entities list, what it has is an associated annotation that can be a MText, a Text (superseded by the MText), a Block, or a Tolerance. Check the samples in the source code of project TestDxfDocument.

Daniel