ITerrainLabel 

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

 

Action

Returns an IAction representing the operation that takes place when the object is clicked in the Project Tree. (Inherited from ITerrainImageLabel)

Attachment

An IAttachment representing the attachment behavior of the label. (Inherited from ITerrainImageLabel)

ID

Gets the ID of the label.

ImageFileName

Gets and sets a full pathname or a URL to the image file that appears in the background of the text. (Inherited from ITerrainImageLabel)

Message

An IMessageObject representing the message object assigned to the object. (Inherited from ITerrainImageLabel)

ObjectType

Gets an enum that identifies the type of the object.

Position

An IPosition representing the position and orientation of the label on the terrain. (Inherited from ITerrainImageLabel)

SaveInFlyFile

Gets and sets a Boolean that determines whether the label is saved in the Fly file.

Style

An ILabelStyle representing the label’s style. (Inherited from ITerrainImageLabel)

Terrain

An ITerrainObject representing terrain properties including draw order and ground object status. (Inherited from ITerrainImageLabel)

Text

Gets and sets the text that appears in the label.

Timespan

An ITimeSpan representing the timespan in which the label is visible on the terrain. (Inherited from ITerrainImageLabel)

Tooltip

An ITooltip representing the tooltip that displays when a mouse cursor is placed over the label in the 3D Window. (Inherited from ITerrainImageLabel)

TreeItem

An ITreeItem representing details about the representation of the label in the Project Tree. (Inherited from ITerrainImageLabel)

Visibility

An IVisibility representing the visibility of the label at different distances. (Inherited from ITerrainImageLabel)

 

Methods

 

GetClientData

Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

SetClientData

Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

Text

Gets and sets the text that appears in the label.

 

JavaScript

 

 

 

Text

 

C#

 

 

 

string Text { get; set; }

 

C++

 

 

 

HRESULT Text([out, retval] BSTR* pVal)

HRESULT Text([in] BSTR pVal)