CSharp examples for System.Drawing:Image Size
Get Full Rectangle from Bitmap
using System.Drawing.Imaging; using System.Drawing; using System.Text; using System.Linq; using System.Collections.Generic; using System;/*from w w w.j a va 2 s .com*/ public class Main{ static public Rectangle GetFullRectangle(this Bitmap Bitmap) { return new Rectangle(0, 0, Bitmap.Width, Bitmap.Height); } }