AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgPoint* MgMapBase::GetViewCenter (  )  [virtual]

Gets the current center point of the map, in the spatial reference system of the map.

Note:
This is not valid with AutoCAD Map 3D. It works with MapGuide only.
.NET Syntax
MgPoint GetViewCenter();
Java Syntax
MgPoint GetViewCenter();
PHP Syntax
MgPoint GetViewCenter();

Returns:
Returns an MgPoint that specifies the center of the map.