Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgMapPlotCollection Class Reference
[MgMapPlotCollection]

Manipulates collections of MgMapPlot objects. More...

Inherits MgSerializable.

List of all members.

## Public Member Functions
void | Add (MgMapPlot *value)
| Adds the specified MapPlot to the end of the collection.
void | Clear ()
| Removes all MapPlots from the collection.
bool | Contains (MgMapPlot *value)
| Determines if the collection contains the specified MapPlot.
bool | Contains (CREFSTRING name)
| Determines if the collection contains the specified MapPlot.
INT32 | GetCount ()
| Gets the number of MapPlots in the collection.
MgMapPlot * | GetItem (CREFSTRING name)
| Gets the MapPlot with the specified name.
MgMapPlot * | GetItem (INT32 index)
| Gets the MapPlot at the specified index.
INT32 | IndexOf (MgMapPlot *value)
| Gets the index of the specified MapPlot in the collection.
INT32 | IndexOf (CREFSTRING name)
| Gets the index of the specified MapPlot in the collection.
void | Insert (INT32 index, MgMapPlot *value)
| Inserts a MapPlot at a specified index within the collection.
| MgMapPlotCollection ()
| Constructs an empty MgMapPlotCollection object.
bool | Remove (MgMapPlot *value)
| Removes a MapPlot from the collection.
void | RemoveAt (INT32 index)
| Removes a MapPlot from the collection at the specified index.
void | SetItem (INT32 index, MgMapPlot *value)
| Sets the MapPlot in the collection at the specified index to a specified value.

## Detailed Description

Manipulates collections of MgMapPlot objects.

Comments or suggestions? Send us feedback.