How to preview a raster catalogs raster field in a Windows form?

592
0
01-03-2014 12:30 AM
DominicRorke
New Contributor II
What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster associated with the row is displayed. I want to achieve the same or equivalent functionality, but within a windows form table (such as within a DataGrid).

What I've tried: I can display the full attribute table of a RasterCatalog layer within a .Net DataGrid using this code 'Bind a geodatabase table to a .NET control'. However, whilst the raster column is populated with text 'raster', it is not possible to get a preview of the raster.

One solution could be to add the image for each row to the datagrid as detailed here, but I'd prefer if I could keep the ESRI raster field functionality if possible.

Any ideas for solutions / alternative approaches gladly welcomed.

Cheers.
0 Kudos
0 Replies