Table of Contents

Method SetAutoScale

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetAutoScale(int, int, bool)

Sets whether a block cell's block is fitted to the cell, as AutoCAD's SetAutoScale: its 174, 1 or 0. The block AutoCAD drew the table with is not drawn anew.

public void SetAutoScale(int row, int col, bool autoFit)

Parameters

row int

The row, from nought.

col int

The column, from nought.

autoFit bool

Whether it is fitted.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's.

InvalidOperationException

Thrown when the cell is not a block cell, or the table is erased.