C
Claire Greenfield
I have a vb dotnet program which uses bitmaps. The following line of
code works fine for most situations:
aBitmap = New Bitmap((100 / mZoom) * mBitmap.Width, (100 / mZoom) *
mBitmap.Height, Drawing.Imaging.PixelFormat.Format32bppArgb)
However, if the width and height values are 5376 and 46080
respectively, I get a 'invalid parameter used' error. Is there a limit
on the size of a bitmap??
Any ideas appreciated.
Claire
code works fine for most situations:
aBitmap = New Bitmap((100 / mZoom) * mBitmap.Width, (100 / mZoom) *
mBitmap.Height, Drawing.Imaging.PixelFormat.Format32bppArgb)
However, if the width and height values are 5376 and 46080
respectively, I get a 'invalid parameter used' error. Is there a limit
on the size of a bitmap??
Any ideas appreciated.
Claire