Element: layer.label_thresholds[2]

Type

numeric[2]

Description

The display thresholds for autotext annotation of the layer during rendering of the window's annotation layer. The layer is only auto-annotated if its group is present in the annotation layer group list, and if the window's meter scale is within these defined limits.

This element is a 2-element numeric array containing 2 meter scale values, a minimum and a maximum. A meter scale value is the number of real-world meters represented by 1 pixel in the graphic window.

Only if the window's current meter scale (see window.mpp) is within these limits will graphics on the layer be auto-annotated. In fact the visibility test is

layer.label_thresholds[1]   <=   window.mpp   <   layer.label_thresholds[2]*

* There is an exception to this rule such that if layer.label_thresholds[2] has a zero value, it is treated as infinity.
   In fact a value of -1 may be used to suppress autotext annotation for the layer. This is often useful to prevent unnecessary processing.

Only graphic primitives which are currently visible are auto-annotated, so the general display thresholds (layer.thresholds) also play a major part in deciding when autotext annotation is performed and improve performance.

See Also

Commands:

layer

Structures:

layer, layer.group_order, layer.thresholds, window.annotation_layer