Hi, > I have generate the problem in this line. > > printImage = New Bitmap(pageWidth, pageHeight)
I'm assuming that somewhere you've defined printImage to be a of the type Bitmap... i.e. Bitmap printImage; // do something printImage = new Bitmap(int32, int32); or even easier Bitmap printImage = new Bitmap(int32, int32); Without a bit more information, it could be anything! PFJ -- Vertraue mir, ich weiss, was ich mache... _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list