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


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


Your Answer

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

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