Table of Contents

Property ContentType

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ContentType

Gets or sets what the leaders point to (group 172), as AutoCAD's ContentType; MTextContent where the record gives none, and for a new MULTILEADER, which holds no words yet (HasContent() false), as AutoCAD 2021 reads a new one (check D38b).

public DxfContentType ContentType { get; set; }

Property Value

DxfContentType

Set to NoneContent, the MTEXT and the block of the context data are taken out; set to another, the MULTILEADER has to hold that content already: words are given by MText, a block by BlockContent, and a feature control frame is not written by the library.

Exceptions

ArgumentOutOfRangeException

Thrown when the type set is not one of DxfContentType.

InvalidOperationException

Thrown when the content set is not held, or the MULTILEADER is erased.