This sample calculates the spatial index gridsize for a featureclass to be loaded to a geodatabase.
It uses the same algorithm to calculate gridsize as the geodatabase loaders in ArcToolbox and
ArcCatalog.. If the "Projecting on Load" check box is checked a spatial reference dialog box
will be displayed allowing the entry of the projection of the target featureclass or
featuredataset. The resulting grid size can then be used in the load or in the definition of