Scale Bar Control


Includes a scale bar in the print output.

The Scale Bar control works with 2D maps only. If you print a 3D web scene from a Web AppBuilder app, the Scale Bar control will be blank.

Properties Common to Most Controls

For more information about the properties listed below, see Properties Common to Most Controls.

For more information regarding each of the property groups, see the Control Reference.



Sets the unit of scale displayed. By default, the unit is set to the same measure unit as that used in the print template Measure Units setting.

The preconfigured templates use the appropriate units for the paper size. Templates for ISO paper sizes use metric units. Templates for ANSI paper sizes use imperial units.


Allow Markup Text

Type: Boolean

Sets whether you can use HTML markup tags to format the text in the Text property.

See the following resource for what tags are supported.

Keep Together

Type: Boolean

Sets whether an item can be split horizontally across pages. When false, the item will be split across pages if all its contents do not fit on one page. When true, the contents of the item will be printed, as a whole, on the next page.

Related Tutorials

Refer to the following resources for additional help on implementing this control: