Properties
Labels visibility
Labels modules

Properties

bool Labels.AvoidCollisions [get, set]
 Gets or sets the value which indicates whether a routine for preventing of label overlaps will be used.
int Labels.CollisionBuffer [get, set]
 Gets or sets the value which affects the collision avoidance routine. Two labels are considered ovelapping when the distance between their bounding rectangles is less then this value.
bool Labels.DynamicVisibility [get, set]
 Gets or sets the value which turns the dynamic visibility on or off.
double Labels.MaxVisibleScale [get, set]
 Gets or sets the maximum scale at which labels are visible on the map.
int Labels.MinDrawingSize [get, set]
 Gets or sets the minimum size of the shape in pixels to be labeled at the current map scale.
double Labels.MinVisibleScale [get, set]
 Get or sets the minimum scale at which labels are visible on the map.
bool Labels.RemoveDuplicates [get, set]
 Gets or sets the value which indicates whether labels with the same text should be drawn.
bool Labels.UseWidthLimits [get, set]
 Is not implemented.
string Labels.VisibilityExpression [get, set]
 Gets or sets an expression which defines what shapes should be labelled on the map.
bool Labels.Visible [get, set]
 Gets or sets the value which indicates whether the labels will be visible on the map.

Detailed Description

Here is list of properties and methods which affect visibility of labels. This module is a part of the documentation of Labels class.

dot_inline_dotgraph_22.png

Graph description


Properties

bool Labels.AvoidCollisions [get, set]

Gets or sets the value which indicates whether a routine for preventing of label overlaps will be used.

When set to true overlapping labels won't be drawn.

int Labels.CollisionBuffer [get, set]

Gets or sets the value which affects the collision avoidance routine. Two labels are considered ovelapping when the distance between their bounding rectangles is less then this value.

See also:
Labels.AvoidCollisions
bool Labels.DynamicVisibility [get, set]

Gets or sets the value which turns the dynamic visibility on or off.

When set to true, labels will be visible only in the range of scales set by Labels.MinVisibleScale and Labels.MinVisibleScale.

double Labels.MaxVisibleScale [get, set]

Gets or sets the maximum scale at which labels are visible on the map.

See also:
Labels.DynamicVisibility, AxMap.CurrentScale
int Labels.MinDrawingSize [get, set]

Gets or sets the minimum size of the shape in pixels to be labeled at the current map scale.

double Labels.MinVisibleScale [get, set]

Get or sets the minimum scale at which labels are visible on the map.

See also:
Labels.DynamicVisibility, AxMap.CurrentScale
bool Labels.RemoveDuplicates [get, set]

Gets or sets the value which indicates whether labels with the same text should be drawn.

When set to true only the labels with unique text will be drawn on map. The choice of label to draw depends on their position in the list and the fact of belonging to the visualization category.

bool Labels.UseWidthLimits [get, set]

Is not implemented.

string Labels.VisibilityExpression [get, set]

Gets or sets an expression which defines what shapes should be labelled on the map.

Applicable only to the instances of the Labels class associted with shapefile, i.e. obtained by Shapefile.Labels property.

 Labels lb = new Labels();
 lb.VisibilityExpression = "[Area] > 100 and [population] > 100000";
bool Labels.Visible [get, set]

Gets or sets the value which indicates whether the labels will be visible on the map.

 All Classes Files Functions Enumerations Properties