I think you should call Invalidate() for the changes to take place. Muhammad Adel
"The secret to creativity is knowing how to hide your sources". Einstein ----- Original Message ----- From: "Ali Khawaja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 03, 2004 11:04 PM Subject: Re: [ADVANCED-DOTNET] PrintPreviewControl > Its working now. Its calling doctoPrint twice that I am trying to figure out > why, but beside that, its looking good. > > -----Original Message----- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Ali Khawaja > Sent: Saturday, April 03, 2004 12:59 PM > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] PrintPreviewControl > > I am embedding PrintPreviewControl in my application. > > It shows up fine, but I am trying to give the user options to change the > view to portrait or landscape. > > That works also, but the PrintPreviewControl does not get refreshed with the > new layout on the screen. > > > > I'll appreciate any help. > > > > Thanks > > Ali > > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > Some .NET courses you may be interested in: > > NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentor� http://www.develop.com > Some .NET courses you may be interested in: > > NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
