Dundas Chart for Windows Forms
Print Method
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Utilities Namespace > PrintingManager Class : Print Method


showPrintDialog
Indicates if printing dialog should be shown.
Indicates if printing dialog should be shown.
This method prints a chart.
Prints chart.

Syntax

Visual Basic (Declaration)  
Public Sub Print( _
   ByVal showPrintDialog As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As PrintingManager
Dim showPrintDialog As Boolean
 
instance.Print(showPrintDialog)
C#  
public void Print( 
   bool showPrintDialog
)

Parameters

showPrintDialog
Indicates if printing dialog should be shown.
Indicates if printing dialog should be shown.

Example

Visual Basic Copy Code
Imports Dundas.Charting.WinControl
  ...

' Prints a chart with a print dialog.
chart1.Printing.Print(True)
C# Copy Code
using Dundas.Charting.WinControl;
 ...

// Prints a chart with a print dialog.
chart1.Printing.Print(true);

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.