Property Block
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Block
Gets or sets the block the leaders point to (group 343), as AutoCAD's BlockId gives its id; null where the
style names none, or one the drawing has no block of.
public DxfBlockTableRecord Block { get; set; }
Property Value
- DxfBlockTableRecord
Set, a block of the style's drawing, its handle written, as AutoCAD 2021 writes the block TAG of a style of block content; null takes the group out.
Exceptions
- ArgumentException
Thrown when the block set is of no drawing, or of another than the style's.
- InvalidOperationException
Thrown when the style is erased.