Problem with scaling

Jan 6 2010 11:07 AM
I have a Windows form that contains a panel which contains a number of other controls.  I am using a slider bar to change the scaling of the panel and its child controls. This is similar to zooming in Office 2007. It is working correctly except for when I try to zoom on a large scale. If I go from 10% to 500% I get the following exception: "Not enough storage is available to process this command". If I progressively go up to 500% in smaller increments, it is not a problem.

I am wondering if there is a maximum scaling factor (SizeF object). Can anyone help with this?

Thanks in advance.

Answers (1)