menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PrintSetupDialog - API Reference

    Show / Hide Table of Contents

    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 Description
    System.Drawing.Printing.PageSettings

    PrintZoom

    Gets or sets the PrintZoom value that corresponds to the diagram's zoom settings. PrintZoom

    Declaration
    public PrintZoom PrintZoom { get; set; }
    Property Value
    Type Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved