Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLayout
GetTitle
GetUnitType
MgLayout
SetLayout
SetTitle
SetUnitType
STRING MgLayout::GetUnitType | ( |  | ) |
Gets the layout scale units (US/English or metric units). This value determines the units used in the scale bar definition. This value is ignored if a layout is not specified. .NET Syntax
`string GetUnitType();`
Java Syntax
`String GetUnitType();`
PHP Syntax
`string GetUnitType();`
Returns: The layout scale units.

Comments or suggestions? Send us feedback.