ILabelStyle80

A label object can have text, images or both. For more information about TerraExplorer's labels, see "Text and Image Labels" in the TerraExplorer User Manual.

 

 

Properties

 

BackgroundColor

An IColor80 representing the label’s background color .

Bold

Gets and sets a Boolean that determines if the font style is set as bold.

FontName

Gets and sets the name of the font.

FontSize

Gets and sets the font size in pixels. The size of the text ranges from 8 point to 72 point.

FrameFileName

Gets and sets a full pathname or a URL to the frame file that is used as a border for the label.

IconColor

An IColor80 representing the color of the label’s icon image.

Italic

Gets and sets a Boolean that determines if the font style is set as italic.

LimitScreenSize

Gets and sets a Boolean that determines if the label maintains its original size when zooming in.

LineColor

An IColor80 representing the color of the label’s line to ground.

LineToGroundLength

Gets and sets the length of the line that extends down from the pivot either to the ground or to a custom length towards the ground.

LineToGroundType

Gets and sets an enum that determines if a line extends down from the pivot either to the ground or to a custom length towards the ground.

LockMode

Gets and sets which text label position parameters are adjusted automatically to face the camera and which are locked to the Position group field values.

MaxImageSize

Gets and sets the maximum size for the label’s image, if it has one.

MaxViewingHeight

Gets and sets the maximum viewing height at which the label is visible.

MinViewingHeight

Gets and sets the minimum viewing height at which the label is visible.

MultilineJustification

Gets and sets the justification of the text if there is more than one line of text.

PivotAlignment

Gets and sets the alignment of the label relative to its pivot point.

Scale

Gets and sets the label’s dimensions, in meters per pixel.

ShowTextBehavior

Gets and sets an enum that determines whether the label text is shown always or only when the mouse cursor is placed above the label.

SmallestVisibleSize

Gets and sets minimum font height, in pixels, at which the label disappears as you fly away from it.

TextAlignment

Gets and sets the horizontal and vertical justification of the text with respect to the background.

TextColor

An IColor80 representing the foreground color of the text.

TextOnImage

Gets and sets a Boolean that determines if the text appears on the image in the label.

Underline

Gets and sets a Boolean that determines if the font style is set as underline.