Name
PrintPreviewDialog
Synopsis
This Form
hosts the
PrintPreviewControl
to provide a print preview
facility in your application, including the standard control buttons
you require to alter the zoom factor, display page layout (including
the range of pages to view), and to start a print to the default
print device.
It exposes the same programmatic interface as the
PrintPreviewControl
, through delegation.
public class PrintPreviewDialog : Form { // Public Constructors public PrintPreviewDialog(); // Public Instance Properties public IButtonControl AcceptButton{set; get; } // overrides Form public string AccessibleDescription{set; get; } // overrides Control public string AccessibleName{set; get; } // overrides Control public AccessibleRole AccessibleRole{set; get; } // overrides Control public override bool AllowDrop{set; get; } // overrides Control public override AnchorStyles Anchor{set; get; } // overrides Control public bool AutoScale{set; get; } // overrides Form public override Size AutoScaleBaseSize{set; get; } // overrides Form public override bool AutoScroll{set; get; } // overrides Form public Size AutoScrollMargin{set; get; } // overrides ScrollableControl public Size AutoScrollMinSize{set; get; } // overrides ScrollableControl public override Color BackColor{set; get; } // overrides Form public override Image BackgroundImage{set; get; } // overrides Control public IButtonControl CancelButton{set; get; } // overrides Form public bool CausesValidation{set; get; } // overrides ...
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.