ComponentOne Chart 8.0 for ActiveX
Output/Printing Methods

 

Output/Printing Methods

The methods listed below allow you to output the chart. See the Chart2D Object for more information.

 

CopyToClipboard

Function CopyToClipboard(Format As FormatConstants) As Boolean

Copies the chart to the clipboard using the graphics format you specify.

DrawToDC

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.

DrawToFile

Function DrawToFile(FileName As String, Format As FormatConstants) As Boolean

Draws the chart into a file using the graphics format you specify.

PrintChart

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.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback