Building a Chart > Printing Charts > Output/Printing Methods |
The methods listed below allow you to output the chart. See the Chart2D Object for more information.
Function CopyToClipboard(Format As FormatConstants) As Boolean |
Copies the chart to the clipboard using the graphics format you specify. |
|
Function DrawToDC(Hdc As Long, Format As FormatConstants, Scale As ScaleConstants, Left As Long, Top As Long, Width As Long, Height As Long) As Boolean |
Draws the chart on a specified device at the scale and graphics format you specify. |
|
Function DrawToFile(FileName As String, Format As FormatConstants) As Boolean |
Draws the chart into a file using the graphics format you specify. |
|
Function PrintChart(Format As FormatConstants, Scale As ScaleConstants, Left As Long, Top As Long, Width As Long, Height As Long) As Boolean |
Prints the chart using the Windows Print dialog box. |
Each of these methods enables you to produce a copy of the chart in bitmap format, Metafile format, or enhanced Metafile format.