Version

PrintChart(PrinterSettings,PageSettings) Method

Prints the chart to the specified printer using the specified page settings.
Syntax
'Declaration
 
Public Overloads Sub PrintChart( _
   ByVal printer As PrinterSettings, _
   ByVal page As PageSettings _
) 
public void PrintChart( 
   PrinterSettings printer,
   PageSettings page
)

Parameters

printer
The PrinterSettings object that names the printer. If no value is supplied, the default printer will be used
page
The PageSettings object that specifies how the print job will formatted. If no value is supplied, the default page settings will be used.
Remarks

The PageSettings object is used to specify the attributes of the print job, such as page size, orientation, margins, etc.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also