Class PrintSetupDialog
The PrintSetupDialog provides a dialog for diagram users to set the page settings, margins and zoom ratios for print and print preview. Initializing the dialog's PageSettings and PrintZoom properties with their equivalent members from the diagram's View will configure the dialog for the current print settings, and enables users to modify the data.
Please refer to the DiagramBuilder sample to see the PrintSetupDialog in use.
Inheritance
System.Object
PrintSetupDialog
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class PrintSetupDialog : Form
Constructors
PrintSetupDialog()
Initializes a new instance of the PrintSetupDialog class.
Declaration
public PrintSetupDialog()
Properties
PageSettings
Gets or sets the System.Drawing.Printing.PageSettings value that corresponds to the diagram's page settings. PageSettings
Declaration
public PageSettings PageSettings { get; set; }
Property Value
Type |
---|
System.Drawing.Printing.PageSettings |
PrintZoom
Declaration
public PrintZoom PrintZoom { get; set; }
Property Value
Type |
---|
PrintZoom |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |