java.awt.image.Raster.getSample could not be convertedĀ 

In the Java language, this method returns the sample for a pixel defined by the third parameter as an integer.

In the .NET Framework, there is no direct equivalent.

To correct this error

  • Use the System.Drawing.Bitmap class.

See Also

Reference

System.Drawing Namespace
Bitmap Class
Image Class
System.Drawing.Imaging Namespace