Use unit placeholders to display unit names, such as foot, inch, centimeters, for length values.
All available units and their translations are stored in the industry model . If you use a placeholder instead of a static text to display the unit name, the name will always appear in the appropriate language. This is useful if a report is used in different countries, using different languages.
There are different placeholders:
Unit placeholder |
Description |
For default units: {Unit.Area} {Unit.Length} {Unit.<name>} |
Adds a default unit to your report. Click Add menu Adds a text control containing the appropriate placeholder. |
For unit items: {Unit.Item("Centimeter")} {Unit.Item("Foot")} {Unit.Item("<name>")} |
Adds a unit item to your report,. Click Add menu Adds a text control containing the placeholder. |
For attribute units: {Unit.Attribute("FeatureClassName","AttributeName")} {Unit.Attribute("FeatureClassName","AttributeName", "DefaultUnitType")} |
Adds an attribute unit to your report. Click Add menu |
For SQL field units: {Unit.Field("ColumnName")} |
Adds a SQL field unit to your report. Click Add menu |