AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual bool MgLayerBase::IsVisible (  )  [virtual]

Returns the actual visibility of the layer.

Remarks:
The visibility depends on the visible property of the layer, the visible property of each group this layer is organized within, and the current viewScale of the map.
.NET Syntax
bool IsVisible();
Java Syntax
boolean IsVisible();
PHP Syntax
bool IsVisible();

Returns:
Returns true if the layer is actually visible, or false otherwise.
Example (PHP) See MgMapBase class .