Re: Getting Error while Crate Bitmap

"Paul F. Johnson" <[email protected]> Mon, 22 Aug 2011 19:45:34 +0100
Newsgroups gmane.comp.gnome.winforms
Organization Home
Message-ID <[email protected]>
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list