ArcPad Scripting Object Model
AutoPanMargin Property
See Also  Send comments on this topic.
GPS Object : AutoPanMargin Property

Glossary Item Box

Description

Returns or sets the percentage towards the edge of the screen that the GPS cursor must reach before the map is automatically panned.

Property type

Read-write property

Syntax

object.AutoPanMargin = [ value ]

Return Type

Double

Remarks

The AutoPanMargin is expressed as a value between 0 and 1. Set the AutoPanMargin to 0 to re-center the map at every new GPS fix. Set the AutoPanMargin to 1 to turn automatic map panning off. All other values (>0, <1) represent the percentage towards the edge of the screen the GPS cursor must reach before the map automatically pans. For example, an AutoPanMargin of 0.80 indicates 80% towards the edge.

See Also

© 2012 All Rights Reserved.