![]() For example, if the current default map frame is named My Map and you insert a dynamic text element for the scale, the tag is. When you create a dynamic text tag for a specified map frame, the map frame is referenced by the name it has when the tag is created. Map frame tags display information about map frames and the maps they contain. It includes a map title and service layer credits.Ī landscape layout ideal for showing countries, cities, and states. Minimal, tabloid, landscape, layout, title, credits, templateĪ simple, A3-size landscape layout without any margins. The following table lists the available tags for system information: SystemĬ:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.aprxĬ:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\Ĭ:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.gdbĬ:\Users\UserName\Documents\ArcGIS\Projects\CityMaps\CityMaps.tbx To start a new line with a dynamic text tag, add the new line attribute. Once the layout has been exported, the text looks similar to the following: This way, the text on the page is blank until the layout is exported. Instead of adding an empty string attribute to explain that it has not been exported, you can remove the static text and add pre and post string attributes instead, so Date Exported: does not appear on the page. If the layout has never been exported, the result on the layout is Date Exported. The advantage of using these attributes over static text is that they only appear on the layout if the dynamic text tag has a value. ![]() ![]() Pre and post string attributes can be used to add text before or after a tag. The result on the layout is Credits: Credits for this map were unavailable. For example:Ĭredits: " property="credits" emptyStr="Credits for this map were unavailable."/> Using the empty attribute, you can set default text when there is no information available. If the map contains no credit information, the result on the layout is Credits. However, if you want certain text to display when a tag parses to null, you can add emptyStr="" to the dynamic text tag. For example, if you have the following text on a layout that has never been exported: Last exported:, it appears as Last exported: on the page until the page has been exported. If a text element contains additional static text, or an additional dynamic text tag that does parse to a value, that text appears. If a text element contains nothing but a dynamic text tag that currently parses to nothing, an empty bounding box appears on the layout when the element is selected. You can modify the number of decimal places used by tags that return numeric values using the decimalPlaces attribute. For lists and examples of formatting tags, see Text formatting tags. Tables of dynamic text tags, formatting information for dynamic text, and examples of how to use these tags are provided below. Text formatting tags are applied only if the current typeface includes that style. The output looks similar to the following: Last updated on Monday, Jby userName. This example uses static text, two dynamic text tags, a modifier on the first tag to specify the date format, and two formatting tags to italicize the date and the user name. The following is an example for keeping track of the last person to work on a project: In some cases, you may just need a single, stand-alone tag, but other cases may require several tags along with static text. Text elements using dynamic text tags can be as simple or complex as needed. This allows you to create mixed-format text where, forĮxample, one word in a sentence is underlined. Along with dynamic text tags that provide the information displayed, you can use formatting tags to modify the formatting for portions of the text. Once dynamic text has been added to your layout, you can modify the text to change the information that is displayed and how it is shown. This allows you to combine both dynamic and static text in a single text element. Dynamic text works through the use of tags, similar to HTML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |