CSharp examples for System.Drawing:Image Size
Get Rectangle from Bitmap
using System.Text; using System.Drawing; using System.Collections.Generic; using System;//w ww .j a va2s . c o m public class Main{ public static Rectangle GetRectangle(this Bitmap map) { return new Rectangle(0,0,map.Width, map.Height); } }