2

Cell Size

As the figure shows above, after classifying the raster, we can get the cell size by opening the raster Properties to its Source tab, and we can calculate the area by mutiplying the cell count and the cell size.

How can I get the cell size using C# instead?

1 Answer 1

1

Use the IRasterProps interface, it appears to have a MeanCellSize property which returns the cell size.

http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//001q000006t1000000

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.