ITerrainLabel81 

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 IAction81 representing the operation that takes place when the object is clicked in the Project Tree. (Inherited from ITerrainImageLabel81)

Attachment

An IAttachment81 representing the attachment behavior of the label. (Inherited from ITerrainImageLabel81)

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 ITerrainImageLabel81)

Message

An IMessageObject81 representing the message object assigned to the object. (Inherited from ITerrainImageLabel81)

ObjectType

Gets an enum that identifies the type of the object.

Position

An IPosition81 representing the position and orientation of the label on the terrain. (Inherited from ITerrainImageLabel81)

SaveInFlyFile

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

Style

An ILabelStyle81 representing the label’s style. (Inherited from ITerrainImageLabel81)

Terrain

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

Text

Gets and sets the text that appears in the label.

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility81 representing the visibility of the label at different distances. (Inherited from ITerrainImageLabel81)

 

Methods

 

GetClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject81)

SetClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject81)

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)