MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Gets the current coordinate. After an iterator is created or after a Reset, MoveNext must be called to advance the iterator to the first coordinate before calling GetCurrent; otherwise, the current position is undefined and an exception is thrown.

.NET Syntax
virtual MgCoordinate GetCurrent();
Java Syntax
virtual MgCoordinate GetCurrent();
PHP Syntax
virtual MgCoordinate GetCurrent();
Returns:
The coordinate at the current position.
Exceptions:
MgIndexOutOfRangeException