Web API Reference MapGuide Open Source
void MgLayout::SetUnitType ( CREFSTRING  unitType  ) 

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
void SetUnitType(string unitType);
Java Syntax
void SetUnitType(String unitType);
PHP Syntax
void SetUnitType(string unitType);

Parameters:
unitType (String/string) The layout scale units
Returns:
Returns nothing.


Comments or suggestions? Send us feedback.