T
trant
I am using DrawImageUnscaled to draw a rendered image to my UI and everything
works fine for everything except 1 case where the image is really wide (68420
x 428)
the code is just:
g.DrawImageUnscaled(img, this.AutoScrollPosition.X,
this.AutoScrollPosition.Y, this.ClientSize.Width, this.ClientSize.Height);
and the img is a Bitmap image. There were no problems creating the img and
it is created with the same code that created all the other images that work
fine.
I guess it is something to do with the size.
If so, is there any way to draw this image even if its so large?
works fine for everything except 1 case where the image is really wide (68420
x 428)
the code is just:
g.DrawImageUnscaled(img, this.AutoScrollPosition.X,
this.AutoScrollPosition.Y, this.ClientSize.Width, this.ClientSize.Height);
and the img is a Bitmap image. There were no problems creating the img and
it is created with the same code that created all the other images that work
fine.
I guess it is something to do with the size.
If so, is there any way to draw this image even if its so large?