Table of Contents

Property ColumnCount

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ColumnCount

Gets or sets how many columns the MTEXT has (group 72 of its embedded object, 76 of its extended data), as AutoCAD's ColumnCount: where the embedded object gives none, as for dynamic columns of auto height, worked out from the width of all the columns (42) as ezdxf works it out; nought where the MTEXT has no columns.

public int ColumnCount { get; set; }

Property Value

int

Set, 1 or more, written as ColumnType says, the MTEXT's Width made to agree, as SetStaticColumns(double, double, int) makes it; columns of their own heights given one of the MTEXT's Height for each column added.

Exceptions

ArgumentOutOfRangeException

Thrown when the count set is below 1.

InvalidOperationException

Thrown when the MTEXT is erased, or has no columns: give it some first.