WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartPrintDocument

    Show / Hide Table of Contents

    Class ChartPrintDocument

    Implements the ChartControl printing feature.

    Inheritance
    System.Object
    ChartPrintDocument
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Windows.dll
    Syntax
    public sealed class ChartPrintDocument : PrintDocument

    Properties

    ColorMode

    Gets or sets the color mode.

    Declaration
    public ChartPrintColorMode ColorMode { get; set; }
    Property Value
    Type Description
    ChartPrintColorMode

    The color mode.

    PrintToolBar

    Gets or sets a value indicating whether tool bar should be printed.

    Declaration
    public bool PrintToolBar { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if tool bar should be printed; otherwise, false.

    Methods

    Dispose(Boolean)

    Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.

    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.

    OnBeginPrint(PrintEventArgs)

    Raises the System.Drawing.Printing.PrintDocument.BeginPrint event. It is called after the System.Drawing.Printing.PrintDocument.Print method is called and before the first page of the document prints.

    Declaration
    protected override void OnBeginPrint(PrintEventArgs e)
    Parameters
    Type Name Description
    System.Drawing.Printing.PrintEventArgs e

    A System.Drawing.Printing.PrintEventArgs that contains the event data.

    OnEndPrint(PrintEventArgs)

    Raises the System.Drawing.Printing.PrintDocument.EndPrint event. It is called when the last page of the document has printed.

    Declaration
    protected override void OnEndPrint(PrintEventArgs e)
    Parameters
    Type Name Description
    System.Drawing.Printing.PrintEventArgs e

    A System.Drawing.Printing.PrintEventArgs that contains the event data.

    OnPrintPage(PrintPageEventArgs)

    Raises the System.Drawing.Printing.PrintDocument.PrintPage event. It is called before a page prints.

    Declaration
    protected override void OnPrintPage(PrintPageEventArgs e)
    Parameters
    Type Name Description
    System.Drawing.Printing.PrintPageEventArgs e

    A System.Drawing.Printing.PrintPageEventArgs that contains the event data.

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