SetPaperUnits()

Summary

Sets the current paper measurement unit.

Syntax

SetPaperUnits(string unit_name)

Argument Contents
unit_name The measurement unit (in the plural format)

Notes

  • Paper units control the display of measurements in a layout window and the ratio scale of the map window displayed in the status bar (e.g. miles per inch)

  • Valid units include Inches, Centimeters, and other units whose names can be obtained with GetPaperUnitNames().

  • Use SetPaperUnits() to change the system from English units to metric units.

Example

SetPaperUnits("Inches")

Error Codes

Error Type Meaning
Error The measurement unit is not recognized

See Also

Function Summary
GetPaperUnits() Gets the current paper measurement unit
GetPaperUnitNames() Gets a list of the available paper measurement units
SetMapUnits() Sets the current map measurement unit