Table of Contents

Method SetBlockScale

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetBlockScale(int, int, double)

Sets the scale of a block cell's block (its 144), as AutoCAD's SetBlockScale; the block AutoCAD drew the table with is not drawn anew.

public void SetBlockScale(int row, int col, double scale)

Parameters

row int

The row, from nought.

col int

The column, from nought.

scale double

The scale, a finite number above nought.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, or the scale is not a finite number above nought.

InvalidOperationException

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