This method returnes the visibility status of an Info Tree item on the terrain.
Supported by TerraExplorer Viewer.
HRESULT GetVisibility(
[in] long ItemID,
[out, retval] int* pVal)
Parameters:
ItemID – The ID of the Info Tree item in question.
pVal – Once the method call is returned, pVal contains FALSE if the object is not visible on the terrain and TRUE if it is visible.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |
E_INVALIDARG |
The ItemID is not a valid InformationTree ID |