Table of Contents

Method SetAlignment

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetAlignment(int, int, DxfCellAlignment)

Sets where a cell's content stands, as AutoCAD's SetAlignment(row, col, align): the cell's own (170), its flag 1 set in its 177 (91 from R2007 on). The block AutoCAD drew the table with is not drawn anew.

public void SetAlignment(int row, int col, DxfCellAlignment align)

Parameters

row int

The row, from nought.

col int

The column, from nought.

align DxfCellAlignment

The alignment.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, or the alignment is not one of DxfCellAlignment.

InvalidOperationException

Thrown when the table is erased.