How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Using the custom type
- Start Visual Studio and open the solution file.
- Open the TestThumbnailBuilder project.
- Edit the strings in the Specify input directory and dataset name region to specify the parameters that control where to create the mosaic dataset, where to add data, and so on.
- Compile and run the program. If the program succeeds, the console shows a Success message. If an error occurs, it shows on the console window.
- Load the created mosaic dataset into ArcMap. The Attribute table will contain a field called Thumbnail, which can be used by a client to view the thumbnails generated by the Thumbnail Builder.
Additional information
The user may have to access table properties and enable viewing of all the columns of the Attribute table to see the ThumbNail column.ThumbnailBuilder\ThumbnailBuilder.cs | Main source file that implements the custom raster builder. |
TestThumbnailBuilder\TestThumbnailBuilder.cs | Main source file for the test application that is used to generate a mosaic dataset and add items to it using the custom builder. |
ThumbnailBuilder\ThumbnailBuilder.vb | Main source file that implements the custom raster builder. |
TestThumbnailBuilder\TestThumbnailBuilder.vb | Main source file for the test application that is used to generate a mosaic dataset and add items to it using the custom builder. |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
ArcEditor | ArcEditor |
ArcInfo | ArcInfo |
Engine Developer Kit | Engine Runtime |