ArcPad Scripting Object Model
Properties Property
See Also  Send comments on this topic.
Property
Required. A String that specifies the preference name.
Index
Optional. A Long that specifies the index for preferences that include multiple values (for example, "DataPath").
Preferences Object : Properties Property

Glossary Item Box

Description

Returns or sets the specified preference.

Property type

Read-write property

Syntax

object.Properties ( Property [,Index] ) = [ value ]

Parameters

Property
Required. A String that specifies the preference name.
Index
Optional. A Long that specifies the index for preferences that include multiple values (for example, "DataPath").

Return Type

Variant

Remarks

The Properties property is used to get or set the value of individual preferences. The following preferences are supported:
Name Description Return Type Multiple Values?
SystemPath The System folder. String No
AntennaHeight The GPS antenna height. Double No
AppletsPath The Applets folder(s). String Yes
GeoidSeparation The geoid separation. Double No
StylesPath The Styles folder(s). String Yes
DataPath The Maps and Data folder(s). String Yes
ExtensionsPath The Extensions folder(s). String Yes
Here's an example of setting the Properties property:

Preferences.Properties("DataPath") = "\My Documents\Data;\Storage Card\My Documents\Data"

See Also

© 2012 All Rights Reserved.