MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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.