This sample .NET API
extension is a translation of the
GISDK Batch Maps Add-In.
This extension prints a batch of maps based on chosen map features. It uses
the map BATCHMAPS.MAP and files that are in your TUTORIAL folder. It
displays a list of store names and addresses from a store points layer, lets
you build a list of chosen stores and, for each chosen store, automatically
creates a layout on your default printer with a map of the store, a legend,
and a title containing the store name. A test mode is provided which
displays the prepared layout without actually printing it.
You can change the extension to use your own data.
- Download the file
the C# project and all its files, including
BATCHMAPS.MAP. Open the project in Microsoft Visual Studio and build it.
You made need to fix the reference to GisdkAPI.dll to point to its
correct location in your program directory.
Copy the built assembly
BatchMaps.dll to one of the following locations:
(available for all users, all products)
• c:\PROGRAMDATA\CALIPER\<PRODUCTNAME>\EXTENSIONS\ (available
for all users, current product)
• c:\USERS\<USERNAME>\DOCUMENTS\CALIPER\EXTENSIONS\ (available for current
user, all products)
• c:\USERS\<USERNAME>\DOCUMENTS\CALIPER\<PRODUCTNAME>\EXTENSIONS\ (available
for current user, current product)
A menu item to run the
extension will then appear under the Add-Ins sub-menu of the Tools menu.