Table of Contents

Method SetTextAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetTextAt(int, string)

Sets the text of a dash, as AutoCAD's SetTextAt: a text makes the dash one of a text (74 of 2, its shape number 0); an empty one, one of no text.

public void SetTextAt(int index, string value)

Parameters

index int

The dash, from nought.

value string

The text.

Exceptions

ArgumentNullException

Thrown when the text is null.

ArgumentOutOfRangeException

Thrown when the index is out of the pattern.

ArgumentException

Thrown when the text has a line break in it.

InvalidOperationException

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