ArcFM Desktop Overview > ArcFM Desktop Developer Samples > Map Production: Export Namer |
Version: C# version added at 10.0.1
Product Availability: ArcFM Desktop, ArcFM Engine
This implementation of IMMNamer provides an example of a component that returns a file name based on Feature OIDs for use with ArcFM Map Production. When the user exports a map book, each exported map set file is named according to the Namer object (e.g., Map Set_oid_1075.bmp).
Developer Sample: Developer Samples\Map Production Tools\C# - Map Production Tools\Export Namer\SampleExportNamer
How to Implement:
How to Use:
Notes:
When using custom tools that work with Map Production, it is important to note that C# code that uses event handlers to listen to Map Production events must provide a handler for all event procedures or ArcMap will crash when any of those events are fired.
Additional Information:
Requires:
All of the files shown below are required for the solution to build successfully. Download these files from the ArcFM Solution Resource Center here.
File
Description
SampleExportNamer.csproj
C# project containing the code to generate a custom export namer for Map Production.
SampleExportNamer.cs
(view code)Returns a file name based on the Feature OID.
The following reference files are required for the project to compile successfully.
Esri.ArcGIS.Geodatabase
Esri.ArcGIS.Geometry
Esri.ArcGIS.System
Miner.Geodatabase
Miner.Interop.FrameworkUI
Miner.Interop.Geodatabase
Miner.System