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.
-
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.
4/27/2014