Table of Contents

Method SetShapeRotationAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetShapeRotationAt(int, double)

Sets the rotation of a dash's shape or text in radians, as AutoCAD's SetShapeRotationAt, written as degrees.

public void SetShapeRotationAt(int index, double rotation)

Parameters

index int

The dash, from nought.

rotation double

The rotation, in radians.

Exceptions

ArgumentOutOfRangeException

Thrown when the index is out of the pattern, or the rotation is not a finite number.

InvalidOperationException

Thrown when the linetype is erased, or of a file of R12.