Table of Contents

Method WithColumns

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

WithColumns(DxfColumnType, double, double, int, bool)

Gets the frame in other columns, as Column Settings sets them: none (the width the total the columns took), static of a count, or dynamic of one height or of their own, each then given the defined height to start with.

public CadMTextFrame WithColumns(DxfColumnType type, double columnWidth, double gutter, int count, bool autoHeight)

Parameters

type DxfColumnType

The columns.

columnWidth double

The width of a column, above nought; with none, the MTEXT's width.

gutter double

The gutter, nought or more.

count int

How many static columns, 1 to 100; the count of dynamic ones of their own heights.

autoHeight bool

Whether dynamic columns are all of one height.

Returns

CadMTextFrame

The frame.

Exceptions

ArgumentOutOfRangeException

Thrown when a size or the count is outside what it takes.

InvalidOperationException

Thrown when the frame has no columns and none are asked for but a width is.