Table of Contents

Property BlockContent

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

BlockContent

Gets or sets the block the leaders point to (group 344, and 341 of the context data), as AutoCAD's BlockContentId gives its id; null where the MULTILEADER points to none, or to a block the drawing has none of.

public DxfBlockTableRecord BlockContent { get; set; }

Property Value

DxfBlockTableRecord

Set, a block of the MULTILEADER's drawing: its handle written, the bit of the overrides set; a MULTILEADER that held no block is given one as ezdxf writes it, at the base point of its content, its words taken out and its content type the block, and the base point then put where a leader from the left meets the block, as AutoCAD 2021 keeps it, which BlockScale and BlockRotation keep the block met at. The values of the block's attributes are given by SetBlockAttribute(DxfAttributeDefinition, DxfAttributeReference).

Exceptions

ArgumentNullException

Thrown when the block set is null.

ArgumentException

Thrown when the block set is not of the MULTILEADER's drawing, or is model or paper space.

InvalidOperationException

Thrown when the MULTILEADER is erased.