Properties
Labels visualization
Labels modules

Properties

string Labels.FloatNumberFormat [get, set]
 Gets or sets the formatting to be used for floating point numbers during generation of labels.
bool Labels.FontBold [get, set]
 Gets or sets the value which indicates whether the font of labels is bold.
uint Labels.FontColor [get, set]
 Gets or sets the color of the label font.
uint Labels.FontColor2 [get, set]
 Gets or sets the second color of the label font. It is used to set color gradient for the font.
tkLinearGradientMode Labels.FontGradientMode [get, set]
 Gets or sets the gradient mode for the labels.
bool Labels.FontItalic [get, set]
 Gets or sets the value which indicates whether the font of labels is italic.
string Labels.FontName [get, set]
 Gets or sets the name of the font to draw labels with, e.g. Arial.
uint Labels.FontOutlineColor [get, set]
 Sets the color of the font outline.
bool Labels.FontOutlineVisible [get, set]
 Gets or sets the value which indicates whether font outline is visible. The default value is false.
int Labels.FontOutlineWidth [get, set]
 Gets or sets the width of the font outline. The default value is 1.
int Labels.FontSize [get, set]
 Gets or sets the size of the font to draw labels with.
bool Labels.FontStrikeOut [get, set]
 Gets or sets the value which indicates whether the font of labels is struck out.
int Labels.FontTransparency [get, set]
 Gets or sets the transparency of the font. A values between 0 (transparent) to 255 (opaque) can be used.
bool Labels.FontUnderline [get, set]
 Gets or sets the value which indicates whether the font of labels is struck out.
uint Labels.FrameBackColor [get, set]
 Gets or sets the color of the frame's background.
uint Labels.FrameBackColor2 [get, set]
 Gets or sets the second color of the frame's background.
tkLinearGradientMode Labels.FrameGradientMode [get, set]
 Gets or sets the type of gradient for the frame of the label.
uint Labels.FrameOutlineColor [get, set]
 Gets or sets the outline color of the label's frame.
tkDashStyle Labels.FrameOutlineStyle [get, set]
 Gets or sets the outline style of the label's frame.
int Labels.FrameOutlineWidth [get, set]
 Gets or sets the width of the outline of the label's frame.
int Labels.FramePaddingX [get, set]
 Gets or sets the horizontal distance between the text of the label and its frame.
int Labels.FramePaddingY [get, set]
 Gets or sets the vertical distance between the text of the label and its frame.
int Labels.FrameTransparency [get, set]
 Gets or sets the transparency of the label's frame. A values between 0 (transparent) to 255 (opaque) can be used.
tkLabelFrameType Labels.FrameType [get, set]
 Gets or sets the shape of the label's frame.
bool Labels.FrameVisible [get, set]
 Gets or sets the values which indicates whether label's frame is visible.
uint Labels.HaloColor [get, set]
 Gets or sets the color of the halo around label's text.
int Labels.HaloSize [get, set]
 Gets or sets the size of the halo drawn around label's text.
bool Labels.HaloVisible [get, set]
 Gets or sets the value which indicates whether label's halo is visible.
uint Labels.ShadowColor [get, set]
 Gets or sets the color of the label's shadow.
int Labels.ShadowOffsetX [get, set]
 Gets or sets the horizontal offset of the label's shadow.
int Labels.ShadowOffsetY [get, set]
 Gets or sets the vertical offset of the label's shadow.
bool Labels.ShadowVisible [get, set]
 Gets or sets the value which indicates whether label's shadow is visible.
tkTextRenderingHint Labels.TextRenderingHint [get, set]
 Gets or sets rendering hint to be used during GDI+ rendering.

Detailed Description

Here is the list of visualization properties for labels. This module is a part of the documentation of Labels class.

The more details on the topic in the description of the LabelCategory class. The properties listed below are used for all labels without specific visualization category set, i.e. Label.Category == -1;

dot_inline_dotgraph_25.png

Graph description


Properties

string Labels.FloatNumberFormat [get, set]

Gets or sets the formatting to be used for floating point numbers during generation of labels.

See acceptable formats in description of C printf function. The commonly used values may be: g (shortest representation), %.2f (two decimal points).

New API 4.9.3:
Added in version 4.9.3
bool Labels.FontBold [get, set]

Gets or sets the value which indicates whether the font of labels is bold.

Examples:
ImageLabels.cs.
uint Labels.FontColor [get, set]

Gets or sets the color of the label font.

uint Labels.FontColor2 [get, set]

Gets or sets the second color of the label font. It is used to set color gradient for the font.

See also:
Labels.FontGradientMode

Gets or sets the gradient mode for the labels.

See also:
Labels.FontColor2
bool Labels.FontItalic [get, set]

Gets or sets the value which indicates whether the font of labels is italic.

string Labels.FontName [get, set]

Gets or sets the name of the font to draw labels with, e.g. Arial.

uint Labels.FontOutlineColor [get, set]

Sets the color of the font outline.

See also:
Labels.FontOutlineVisible
Examples:
ImageLabels.cs.
bool Labels.FontOutlineVisible [get, set]

Gets or sets the value which indicates whether font outline is visible. The default value is false.

Examples:
ImageLabels.cs.
int Labels.FontOutlineWidth [get, set]

Gets or sets the width of the font outline. The default value is 1.

See also:
FontOutlineVisible
Examples:
ImageLabels.cs.
int Labels.FontSize [get, set]

Gets or sets the size of the font to draw labels with.

Examples:
ImageLabels.cs.
bool Labels.FontStrikeOut [get, set]

Gets or sets the value which indicates whether the font of labels is struck out.

int Labels.FontTransparency [get, set]

Gets or sets the transparency of the font. A values between 0 (transparent) to 255 (opaque) can be used.

The default value is 255. Values which fall outside the specified range will be corrected to the closest acceptable value without reporting an error.

bool Labels.FontUnderline [get, set]

Gets or sets the value which indicates whether the font of labels is struck out.

uint Labels.FrameBackColor [get, set]

Gets or sets the color of the frame's background.

uint Labels.FrameBackColor2 [get, set]

Gets or sets the second color of the frame's background.

, Labels.FrameGradientMode

Gets or sets the type of gradient for the frame of the label.

For all values other than gmNone a gradient starting from Labels.FrameBackColor and ending by Labels.FrameBackColor2 will be applied.

uint Labels.FrameOutlineColor [get, set]

Gets or sets the outline color of the label's frame.

Gets or sets the outline style of the label's frame.

int Labels.FrameOutlineWidth [get, set]

Gets or sets the width of the outline of the label's frame.

int Labels.FramePaddingX [get, set]

Gets or sets the horizontal distance between the text of the label and its frame.

int Labels.FramePaddingY [get, set]

Gets or sets the vertical distance between the text of the label and its frame.

int Labels.FrameTransparency [get, set]

Gets or sets the transparency of the label's frame. A values between 0 (transparent) to 255 (opaque) can be used.

The default value is 255. Values which fall outside the specified range will be corrected to the closest acceptable value without reporting an error.

Gets or sets the shape of the label's frame.

Examples:
LabelSelection.cs, and ToolTip.cs.
bool Labels.FrameVisible [get, set]

Gets or sets the values which indicates whether label's frame is visible.

Examples:
LabelSelection.cs, and ToolTip.cs.
uint Labels.HaloColor [get, set]

Gets or sets the color of the halo around label's text.

See also:
Labels.HaloVisible
int Labels.HaloSize [get, set]

Gets or sets the size of the halo drawn around label's text.

See also:
Labels.HaloVisible
bool Labels.HaloVisible [get, set]

Gets or sets the value which indicates whether label's halo is visible.

uint Labels.ShadowColor [get, set]

Gets or sets the color of the label's shadow.

See also:
ShadowVisible
int Labels.ShadowOffsetX [get, set]

Gets or sets the horizontal offset of the label's shadow.

See also:
ShadowVisible
int Labels.ShadowOffsetY [get, set]

Gets or sets the vertical offset of the label's shadow.

See also:
ShadowVisible
bool Labels.ShadowVisible [get, set]

Gets or sets the value which indicates whether label's shadow is visible.

tkTextRenderingHint Labels.TextRenderingHint [get, set]

Gets or sets rendering hint to be used during GDI+ rendering.

This property will be ignored if GlobalSettings.AutoChooseRenderingHintForLabels is set to true.

Examples:
MinimalDistance.cs.
 All Classes Files Functions Enumerations Properties Events