This method sets an Info Tree item to be visible, or not visible, on the terrain.
Supported by TerraExplorer Viewer.
HRESULT SetVisibility(
[in] long ItemID,
[in] long bShow)
Parameters:
ItemID – The ID of the Info Tree item whose visibility is set.
bShow – When set to TRUE, the item becomes visible (FALSE – not 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 |