ITerrainLabel80

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

Attachment

An IAttachment80 representing the attachment behavior of the label. (Inherited from ITerrainImageLabel80)

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

Message

An IMessageObject80 representing the message object assigned to the object. (Inherited from ITerrainImageLabel80)

ObjectType

Gets an enum that identifies the type of the object.

Position

An IPosition80 representing the position and orientation of the label on the terrain. (Inherited from ITerrainImageLabel80)

SaveInFlyFile

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

Style

An ILabelStyle80 representing the label’s style. (Inherited from ITerrainImageLabel80)

Terrain

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

Text

Gets and sets the text that appears in the label.

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility80 representing the visibility of the label at different distances. (Inherited from ITerrainImageLabel80)

 

Methods

 

GetClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

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)