Bitmap property : Bitmap : Graphics C# Source Code


Custom Search

C# Source Code » Graphics » Bitmap »

 

Bitmap property









    


using System;
using System.IO;
using System.Drawing;
   
class MainClass
{
    static public void Main()
    {
        Bitmap img = new Bitmap("winter.jpg");
        
        Console.WriteLine(img.PhysicalDimension.ToString() );
        Console.WriteLine(img.Height.ToString() );
        Console.WriteLine(img.Width.ToString() );
        Console.WriteLine(img.RawFormat.ToString() );
        Console.WriteLine(img.Size.ToString() );
    }
}
           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Graphics
» Bitmap