You may want to create a custom tool that reads point features and saves the attributes automatically into the appropriate XML elements in the GRF file. A sample illustrating how you can create such a custom tool is available on the ArcScripts Web page (www.esri.com/arcscripts). To find the example, type “grf” in the keyword field. This sample has a tool that can be added to ArcMap, which will then allow you to create a GRF file based on a point layer in your map. The GRF file can then be added to ArcPad.
Prospect Park
466
USING ARCPAD
GRF files can be easily created outside StreetMap. This example of a custom, ArcObjects™ software-based tool is available as a free download from ESRI’s ArcScripts.
APPENDIX B: STREETMAP GEOCODING AND ROUTING FILE
467
GRF 1.1 document type definition The purpose of a document type definition (DTD) is to define the legal building blocks of an XML document. It defines the document structure with a list of legal elements. The DTD below is intended to help you develop code that generates custom GRF files. You can also use this DTD to verify whether the GRF files you create are valid. The GRF 1.1 DTD file is installed with ArcPad in the Rhode Island sample …additional attributes… />
Caption The caption is the text displayed at the bottom of the ArcPad Today Plug-in toolbar. ArcPad scripts can access this area and modify the caption. For example, the following ArcPad script code snippet will display the caption “Hello from ArcPad” at the bottom of the toolbar: Dim hWnd hWnd = System.FindWindow("ArcPadToday",,true) Call System.SetWindowText(hWnd, “Hello From ArcPad”)
Tool types The following tool types are supported: •