Window (IWindow80)

The window property of the SGWorld interface is a wrapper for all the functionality that represents interaction with the 3D Window, such as snapshots, dimensions and query pixel information.

 

Properties

 

Cursor

Gets and sets the URL of a cursor to use in the 3D Window.

DisablePresentationControl

Gets and sets a Boolean that determines whether TerraExplorer should hide the onscreen presentation controls when a presentation is played.

Rect

An IScreenRect80 representing the size and position of the SGWorld window.

 

Methods

 

CenterPixelToWorld

Returns an IWorldPointInfo with information about the center pixel on the window: its real world coordinates, and the ID and type of the object positioned at that point.

GetControls

Returns the currently shown navigation controls.

GetInputMode

Returns the current input mode of the mouse.

GetMouseInfo

Returns information about the pointer position.

GetPopupByCaption

Returns an interface to the popup with the specified caption.

GetPopups

Returns a string array of captions of the currently open popups.

GetSnapShot

Returns a snapshot of the window

HideMessageBarText

Hides the text message in the Message Bar container.

PixelFromWorld

Returns an indication of whether a specified terrain coordinate falls in the 3D Window.

PixelToObjects

Returns a list of labels positioned at a specified pixel on the window.

PixelToWorld

Returns an IWorldPointInfo with information about a specified point on the window: its real world coordinates, and the ID and type of the object positioned at that point.

RemovePopup

Removes the popup window

RemovePopupByCaption

Removes the popup with a specified caption.

SetInputMode

Determines the input mode of the mouse.

ShowControls

Shows navigation controls and/or graphical and textual information in the 3D Window.

ShowMessageBarText

Displays the text message in the Message Bar container.

ShowPopup

Displays a popup window.