Hi Michael,
You can maximize the PrintPreviewDialog by first casting it as a Form, and then
setting the WindowState property.
PrintPreviewDialog dialog = new PrintPreviewDialog();
dialog.Document = printDoc;
// show print preview dialog in maximized state
((Form) dialog).WindowState = FormWindowState.Maximized;
dialog.ShowDialog();
Hope this helps.
--
Rodger Constandse
<http://www.SequenceDiagramEditor.com>
Sequence Diagram Editor - A quick and easy way to draw and edit sequence diagrams
Michael A. Covington wrote:
By default, my PrintPreviewDialog is coming out too small. What is the best
way to control its size and position? Ideally, I'd just like to maximize
it. Thanks!