A single-text object is created using the active text style. You can change the formatting of a single-line text object by changing the text style associated with it, or by editing the properties of the single-line text object directly. You cannot apply formats to individual words and characters with single-line text objects.
单行文字 对象是使用活动文字样式创建的。用户可以通过修改与对象关联的文字样式或是编辑单行文字对象的特性来直接修改单行文字对象的格式,但不能对单个单词和字符应用格式。
To change a text style associated with an individual single-line text object, set the TextStyleId property to a new text style. Once you have changed the text style, you must regenerate the drawing or update the object to see the changes in your drawing.
要修改单个单行文字 对象的关联文字样式,请将 TextStyleId 属性设置为新的文字样式。只要修改了文字样式,就必须重新生成图形或更新对象以查看图形中的变化。
In addition to the standard editable properties for entities (color, layer, linetype, and so forth), other properties that you can change on a single-line text object include the following:
除了图元的标准可编辑特性(颜色、图层、线型等),用户还可以更改下列单行文本对象的其他属性::
指定文字的水平对象方式。
指定文字的垂直对象方式。
指定文字的插入点
指定单个文字对象的倾斜角度。
指定以弧度表示的文字的旋转角度。
指定文字的缩放因子。
指定文字的对齐点。
指定文字是否反向显示。
指定文字是否倒置显示。
指定实际显示的文字字符串。
Once you have changed a property, regenerate the drawing or update the object to see the changes made.
一旦修改了属性,就必须重新生成图形或更新对象以查看所做的修改。