AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual void MgLayerBase::SetDisplayInLegend ( bool  displayInLegend  )  [virtual]

Specifies whether an entry for the layer should appear in the legend.

Java Syntax
void SetDisplayInLegend(boolean displayInLegend);

Parameters:
displayInLegend (boolean/bool) True if the layer should appear in the legend, false otherwise.
Returns:
Returns nothing.