Instructions for use
Dynamic Text refers to the text in the map layout that changes as the current properties of the map layer change. When the attribute is updated, the text is automatically updated.
Dynamic Text is an important part of creating Map Series. By using Dynamic Text, when switching from one page to another, the important Attributes of the page layout will also change dynamically. For example, you can add information such as page title, page number, and page identification attribute as Dynamic Text.
Implementation principle
Similar to how HTML works, Dynamic Text uses tags. You can edit a single text label to include both Dynamic Text and static text. The following is an example of a label for Dynamic Text:
<dyn type="page" property="PageName" >
- In the dynamic label (dyn type = "page"), the type is Dynamic Text;
- (Property = "PageName)" is the type property, and PageName is the page title name field, which is the name field value specified for the current index element in the setting Map Series. The user can Modify the Field in the Type property.
When you need to include Dynamic Text and static text in your text, you can Edit Label.The following is an example of a Dynamic Text label that displays the page number:
"Page < dyn type =" page "property =" PageNumber "/>"
此文本由两部分构成:表明Text Content的静态文本 (第... 页) 和动态标签<dyn type="page" property="PageNumber"/>。Add Dynamic Text
Dynamic Text is added if the map in the Layout has Map Series enabled, otherwise the Dynamic Text button is not available.
- Click Object Operation tab-> Object Drawing group-> Text-> Dynamic Text.
- Click the left mouse button at a position in Layout where you want to add a text to bring up the Dynamic Text dialog.
- Field: All fields in the index layer of the current Map Series are displayed in the drop-down menu on the right. You need to select a field as the display field for Dynamic Text.
- Click the OK button and the text will be displayed as a property of the selected field on the current page. Dynamic Text
- Page title: The page title field can be used as Dynamic Text, and Map Series uses the attribute value of the selected name field as the page name after it traverses the features in the indexed layer and each page is defined. For example, if the page title field PageTitle is selected as the display field of Dynamic Text, the text displayed on the layout page is the title "A1" of the current page. Click "A1" to view Text Property, and the label displayed on the Text Content is < dyn type="page" property="PageTitle"/ >。
- Pages and total pages: Page fields can be added to the Map Series layout as Dynamic Text. The page number can be based on the field value of the index layer, and the static text is added at the same time, so that the static text and the Dynamic Text together form the display content of the page and the total number of pages. For example, if you add the text display content of "Page X of 10" and select the page number field PageNumber as the display field of Dynamic Text, the text displayed on the layout page will be the page number "1" of the current page, and click "1" to view the Text Property. The label displayed at Text Content is Dyn type = "page" property = "PageNumber"/, manually add static text as: < dyn type = "page" property = "PageNumber"/ Pages of 10. The text in the layout now reads "Page 1 of 10".
can be added for properties such as page titles, page numbers, adjacent page labels, and property values for specific pages.
Dynamic Text and Properties |
Dynamic Text and Properties |
Edit Dynamic Text
Editing existing text elements to include the Dynamic Text tag can be a convenient way to create useful elements on the map layout.
- Double-click the Text you want to edit.
- Change the value of the Dynamic Text tag to the text (or label) you want to use in the Text Content box on the Text tab in the text Properties panel.
Note: The type attribute in the modification label can only be the attribute type in the indexed layer, otherwise the label is displayed as ERROR.
Draw eight-direction text
Draw eight-direction text, which is the Index Field value of the page marking the adjacent eight directions of the current page. The eight-direction text of the annotation is Dynamic Text. When switching to different pages, the text annotation of the adjacent eight directions will also change accordingly.
Draw eight-direction text provided that the value of the current Index Field eight-direction attribute is known, you can use the Calculate Adjacent Fields to create a field for labeling adjacent pages.
The following steps assume that the fields and values required for the Create Label are already part of the Map Series index layer.
Click the Draw eight-direction text button, and the attribute annotation text of the eight adjacent pages of the current page will be displayed around the map box. If there is no adjacent page in a direction, the callout will be displayed as Empty. Note: When you print out the current Map Series as PDF, the text in the Empty direction will not be output as text.
Draw eight-direction text |