Table of Contents

Property Rotation

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Rotation

Gets or sets how far the MTEXT is turned, as AutoCAD's Rotation: in radians from the x axis of the system of its normal's plane, from nought up to 2 pi; read from its direction (11) where it has one, which wins, else from its angle (50, in degrees), else from the direction it reads along where it has neither, as Direction says: pi on the normal (0, 0, -1), as AutoCAD 2021 reads it. An annotative MTEXT's is that of the direction of the context it is read at (its 10, 20, 30), as Location says.

public double Rotation { get; set; }

Property Value

double

Set, written as the record has it: as its direction where it has one, as its angle too where it has that; an annotative one's into the context it is read at as a direction, and into its record so where that is the default.

Exceptions

ArgumentOutOfRangeException

Thrown when the angle set is not a finite number.

InvalidOperationException

Thrown when the MTEXT is erased.