{ printviewcontrol p=new printviewcontrol(); Bitmap b=new Bitmap(bitmap.FromFile("e:/gf.bmp")); rectangle r=new rectangle(0,0,b.width,b.height); p.bounds=r; p.document=b; p.show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)