Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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