标签:对齐 outside 状态 cts center htm 文字 src imm
Editing the attributes of annotation编辑注记属性
You can edit annotation attributes in the Attributes window, which provides access to the record values in the attribute table. When these edits are made, the BLOB element is updated and you can see the change to the annotation‘s display. You can edit the following attributes in the Attributes window:
FeatureID | Bold | Angle |
AnnotationClassID | Italic | FontLeading |
SymbolID | Underline | WordSpacing |
Status | VerticalAlignment | CharacterWidth |
TextString | HorizontalAlignment | CharacterSpacing |
FontName | XOffset | FlipAngle |
FontSize | YOffset |
These attributes cannot be edited at the database level with SQL code. When these fields are updated through ArcGIS, it results in changes to the feature‘s BLOB element that SQL does not trigger. When you update these fields using SQL outside ArcGIS, the text symbol fields associated with each annotation feature for all the updated rows do not update. To perform these updates outside ArcGIS, ArcObjects must be used.
Learn more about updating data using SQL
Steps:
You can also double-click an annotation feature with the Edit Annotation tool to open the Attributes window.
If you need to update the text for feature-linked annotation, update the attributes of the origin feature (for example, the attributes of the line the annotation is linked to) from which the annotation is derived. When you do that, the updates are reflected immediately in the annotation feature‘s text. If you directly edit the TextString property of the annotation feature itself, your changes will be overwritten if the attribute on the linked feature is modified later.
编辑注记属性
可在"属性"窗口中编辑注记属性,通过此窗口可访问属性表中的记录值。进行这些编辑后,BLOB 元素会更新,且可看到注记显示的更改。可在"属性"窗口中编辑以下属性:
要素 ID | 粗体 | 角度 |
注记类 ID | 斜体 | 行间距 |
符号 ID | 下划线 | 文字间距 |
状态 | 垂直对齐 | 字符宽度 |
文本字符串 | 水平对齐 | 字符间距 |
字体名称 | X 偏移 | 翻转角度 |
字体大小 | Y 偏移 |
无法在数据库级别使用 SQL 代码对这些属性进行编辑。这些字段通过 ArcGIS 更新后,将会导致 SQL 不会触发的要素的 BLOB 元素发生更改。在 ArcGIS 外部使用 SQL 更新这些字段后,对于所有更新的行,与每个注记要素关联的文本符号字段将不会更新。要在 ArcGIS 外部执行这些更新,必须使用 ArcObjects。
步骤:
也可使用"注记编辑"工具双击注记要素来打开"属性"窗口。
如果需要更新关联要素的注记的文本,请将派生该注记的源要素的属性(如与注记关联的线的属性)更新。如此操作后,更新会马上反映到注记要素的文本中。如果直接编辑该注记要素本身的文本字符串属性,那么当关联要素的属性稍后被修改时将覆盖您的更改。
单位机构和项目咨询,不接受个人名义的咨询:email: xiexiaokui#qq。com(个人勿扰)
Editing the attributes of annotation编辑注记属性
标签:对齐 outside 状态 cts center htm 文字 src imm
原文地址:https://www.cnblogs.com/xiexiaokui/p/13850007.html