Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLayout
GetTitle
GetUnitType
MgLayout
SetLayout
SetTitle
SetUnitType
MgLayout::MgLayout | ( | MgResourceIdentifier * | layoutDefinition,
|  | CREFSTRING | title,
|  | CREFSTRING | unitType |
| ) |  |  |
Initializes a new MgLayout object given a layout definition, title and unit type. .NET Syntax
`MgLayout(MgResourceIdentifier layoutDefinition, string title, string unitType);`
Java Syntax
`MgLayout(MgResourceIdentifier layoutDefinition, String title, String unitType);`
PHP Syntax
`MgLayout(MgResourceIdentifier layoutDefinition, string title, string unitType);`
  Parameters:
  | layoutDefinition | (MgResourceIdentifier) An MgResourceIdentifier that specifies the location of the print layout definition in a resource repository.
  | title | (String/string) The title to use in the print layout
  | unitType | (String/string) The type of units to use in the print layout
Returns: Nothing

Comments or suggestions? Send us feedback.