Creating a VBScript expression
When defining VBScript expressions for dynamic text, you can choose a single field value or an array of values for the selected field.
步骤:
- Start ArcMap.提示:
If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.
-
Double-click the dynamic text.
The Dynamic Text Properties dialog box appears.
- Click the Dynamic Text tab if necessary.
-
Click Insert.
The dynamic text appears in the text box.
-
Click the dynamic text element in the text field.
The Dynamic Text Properties dialog box appears.
- Click the Expression option in the Text String area.
-
Click Edit Script.
The Expression Parser dialog box appears.
- Double-click the field value you want to use as the dynamic text.
- If necessary, add expressions that format the text and define more complex text strings.
- Click Verify.
- Fix errors in the script as needed.
- Repeat steps 10–11 until there are no errors.
-
Click OK.
The Dynamic Text Properties dialog box appears.
- Click OK.
10/2/2010