Property Editor - Scale bar Object
The Scale bar Property Editor provides settings to render an embedded scale bar on the map image. The QueryMap Property Editor contains the following properties:
- Intervals - The number of intervals to break the scale bar into. Default is 4
- Status - Enable the scale bar image to be created and embedded. Default is off. (Please note that embedding scale bars require that you define a markerset. In essence the scale bar becomes a custom marker that is handled just like any other annotation). Possible values: MS_ON, MS_OFF, MS_EMBED
- Position - Where to place an embedded scale bar in the image. Default is LR (lower right). Possible values: MS_UL, MS_UC, MS_UL, MS_LR, MS_LC, MS_LR
- Style - Chooses the scale bar style. Valid styles are 0 (Polygon) and 1 (Line)
- Units - Output scale bar units, default is miles. Used in conjunction with the map’s units to develop the actual graphic. Note that decimal degrees are not valid scale bar units. Possible values: MS_FEET, MS_INCHES, MS_KILOMETERS MS_METERS MS_MILES
- Colour - Colour to use for drawing all features if attribute tables are not used. The colour can be selected with the Colour Selector control
- Background Colour - Colour to use for scale bar background, not the image background. The colour can be selected with the Colour Selector control
- Image Colour - Colour to initialise the scale bar with (i.e. background). The colour can be selected with the Colour Selector control
- Outline Colour - Colour to use for outlining individual intervals. The colour can be selected with the Colour Selector control
- Width - The desired width of the scale bar in pixels
- Height - The desired height of the scale bar in pixels
By clicking on the Edit Label button further parameters of the label (like fonts and colours) can be edited in the Label Property Editor
According to the settings above the following scale bar is rendered on the map: