Maximize PrintPreview Control

billy_bob169

Active member
Joined
Jan 30, 2003
Messages
32
Location
Minnesota
I think my brain has finally given out, cuz I cant figure out how to set the size of the form the PrintPreviewDialog control brings to be maximized! It has to be extremely simple (compared to the graphics code I just finished writing), but yet again I must ask the all mighty .Net gods for help!:) Thanks to any one who can help me with this simple issue...
 
Code:
even though we start Maximized, this size is for the Restore (un-Maximize)
PrintPreviewDialog1.Height = 600 
PrintPreviewDialog1.Width = 800
PrintPreviewDialog1.WindowState = FormWindowState.Maximized
 
Back
Top