Chart for .NET / User's Guide / Printing / Multi Page Printing

In This Topic
    Multi Page Printing
    In This Topic

    When you use axis paging or data zooming the chart contains more data than the user can actually see. In some cases you may want to print the whole chart contents. To achieve this you may take advantage of the PrintDocumentController property of the NPrintManager object allowing you to change the default controller (NSinglePageDocumentController):

    C#
    Copy Code
    NPrintManager printManager = new NPrintManager(chartControl.Document);
    printManager.PrintDocumentController = new NAxisPagingDocumentController();
    
    Visual Basic
    Copy Code
    Dim printManager As New NPrintManager(chartControl.Document)
    printManager.PrintDocumentController = New NAxisPagingDocumentController()
    

    Now if the chart has an axis in paging mode the control will generate as many pages as need to display the whole axis range page by page.

     Related Examples
    Windows Forms: Printing\Multi Page Printing
    See Also