arcgis操作、制图、开发、分析、培训、研发、单位机构和重大科技项目技术咨询,qq group ArcGisky: 878796212
Editing the attributes of annotation编辑注记属性
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:
- Click the Edit tool
or the Edit Annotation tool
on the Editor toolbar and select the annotation.
- Click the Attributes button
on the Editor toolbar.
You can also double-click an annotation feature with the Edit Annotation tool to open the Attributes window.
- Click the Annotation or the Attributes tab. The Annotation tab allows you to make multiple changes and preview them before applying them, while the Attributes tab provides a grid of attribute fields and values.
- If you are using the Attributes tab, click the value you want to change—for example, TextString. Type the new value for the attribute.
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.
- Optionally, modify other attributes, such as the font or font size.
- To change an attribute value for more than one feature at a time, select all the annotation features you want to change, click the annotation layer name, then set the values.
- If you are using the Annotation tab, click Apply to commit the changes. If you are using the Attributes tab, the changes are updated as soon as you click away from the field.
编辑注记属性
可在"属性"窗口中编辑注记属性,通过此窗口可访问属性表中的记录值。进行这些编辑后,BLOB 元素会更新,且可看到注记显示的更改。可在"属性"窗口中编辑以下属性:
要素 ID |
粗体 |
角度 |
注记类 ID |
斜体 |
行间距 |
符号 ID |
下划线 |
文字间距 |
状态 |
垂直对齐 |
字符宽度 |
文本字符串 |
水平对齐 |
字符间距 |
字体名称 |
X 偏移 |
翻转角度 |
字体大小 |
Y 偏移 |
无法在数据库级别使用 SQL 代码对这些属性进行编辑。这些字段通过 ArcGIS 更新后,将会导致 SQL 不会触发的要素的 BLOB 元素发生更改。在 ArcGIS 外部使用 SQL 更新这些字段后,对于所有更新的行,与每个注记要素关联的文本符号字段将不会更新。要在 ArcGIS 外部执行这些更新,必须使用 ArcObjects。
步骤:
- 单击编辑器 工具条上的编辑工具
或编辑注记工具
,并选择注记。
-
单击编辑器 工具条上的属性按钮
。
也可使用"注记编辑"工具双击注记要素来打开"属性"窗口。
- 单击注记 或属性 选项卡。注记 选项卡可用于进行多次更改并在应用前对这些更改进行预览,而属性 选项卡可提供属性字段和值的格网。
-
如果正在使用属性 选项卡,则单击想要更改的值,例如"文本字符串"。为属性输入新值。
如果需要更新关联要素的注记的文本,请将派生该注记的源要素的属性(如与注记关联的线的属性)更新。如此操作后,更新会马上反映到注记要素的文本中。如果直接编辑该注记要素本身的文本字符串属性,那么当关联要素的属性稍后被修改时将覆盖您的更改。
- 或者,也可修改其他属性,例如字体或字体大小。
- 要一次更改多个要素的属性值,先选择要更改的所有注记要素,单击注记图层名称,然后设置值。
- 如果正在使用注记 选项卡,则单击应用提交更改。如果正在使用属性 选项卡,则在远离字段的位置进行单击后,更改即会被更新。
单位机构和项目咨询,不接受个人名义的咨询:email: xiexiaokui#qq。com(个人勿扰)
arcgis操作、制图、开发、分析、培训、研发、单位机构和重大科技项目技术咨询,qq group ArcGisky: 878796212