ArcPad Scripting Object Model
UserProperties Property
See Also  Send comments on this topic.
Name
Required. A String that specifies the name of the property user defines.
Map Object : UserProperties Property

Glossary Item Box

Description

Returns or sets the specified properties for the map.

Property type

Read-write property

Syntax

object.UserProperties ( Name ) = [ value ]

Parameters

Name
Required. A String that specifies the name of the property user defines.

Return Type

Variant

Remarks

Use Map.UserProperties to persist any property you want to save with the map.

VBScript Write Example:
  Map.UserProperties("NAME") = "STEPHEN"

VBScript Read Example:
  MsgBox Map.UserProperties("NAME")

When the user name is saved with the map, the APM will have the following:

<ArcPad>
    <MAP>
        <PROPERTIES>
            <PROPERTY name="NAME" value="STEPHEN" />
        </PROPERTIES>
    </MAP>
</ArcPad>

See Also

© 2013 All Rights Reserved.