Table of Contents

Method SetBlockRotation

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetBlockRotation(int, int, double)

Sets the turn of a block cell's block (its 145), as AutoCAD's SetBlockRotation, in radians; the block AutoCAD drew the table with is not drawn anew.

public void SetBlockRotation(int row, int col, double rotationalAngle)

Parameters

row int

The row, from nought.

col int

The column, from nought.

rotationalAngle double

The angle, in radians.

Exceptions

ArgumentOutOfRangeException

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

InvalidOperationException

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