这个在文档很容易就查到的
最好的老师是帮助啊
Autodesk.AutoCAD.DatabaseServices Namespace > DBText Class > DBText Properties > DBText.Rotation Property
DBText.Rotation Property
Collapse AllC#
[UnitType(Autodesk.AutoCAD.DatabaseServices.UnitType.Angle), Category("Text")]
public double Rotation;
Visual Basic
<UnitType(Autodesk.AutoCAD.DatabaseServices.UnitType.Angle), Category("Text")>
Public Property Rotation() As double
Description
Accesses the rotation angle of the text. The rotation angle is relative to the X axis of the text's OCS, with positive angles going counterclockwise when looking down the Z axis towards the origin. The OCS X axis is determined by using the text's normal, the WCS Z axis, and the arbitrary axis algorithm.