Web API Reference MapGuide Open Source

INT32 MgMap::GetDisplayWidth  ) 
 

Returns the current width of the map display in pixels.

Remarks:
The width must be set by the client using the SETDISPLAYWIDTH command as part of a GetMap or GetMapUpdate HTTP request.
.Net Syntax
int GetDisplayWidth();
Java Syntax
int GetDisplayWidth();
PHP Syntax
int GetDisplayWidth();

Returns:
Returns the width of the map display in pixels.
Example (PHP)
See MgMap Class .