Table of Contents

Property TextHeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

TextHeight

Gets or sets how high the letters are (group 40), as AutoCAD's TextHeight; 2.5 where the record gives none. An annotative MTEXT's is as high as the scale it is read at makes it (Location): its record holds the height at its default scale, so that one 2.5 high at the default 1:2 is 1.25 high at 1:1, as AutoCAD 2021 reads it.

public double TextHeight { get; set; }

Property Value

double

Set, the height; an annotative one's record given the height at its default scale, 10 for 5 at 1:1 where 1:2 is the default, as AutoCAD 2021 writes it.

Exceptions

ArgumentOutOfRangeException

Thrown when the height set is not a finite number above nought.

InvalidOperationException

Thrown when the MTEXT is erased.