[Mono-winforms-list] Getting Error while Crate Bitmap

Paul F. Johnson paul at all-the-johnsons.co.uk
Mon Aug 22 14:45:34 EDT 2011


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...



More information about the Mono-winforms-list mailing list