how to buffer a raster cell using Visual Basic _ArcObjects in ArcMap

Discussion created by emma8731 on Feb 20, 2012
I am new in visual basic, I have a question about creating a buffer zone based on a raster layer.

I have a raster layer named "Value_Raster", I have a textbox in the userform, I also create a tool button. In the mousemove event under this toolbutton, I want to create a buffer area that the origin is the raster cell value when I move my cursor on the cell, the buffer area can be a square (or rectangular) shape , when the sum of the raster values in the buffer zone is equal to the textbox value in the userform, the buffer will stop. finally the sum of the buffered area is displayed in the msgbox.

please help me out! thanks a lot.