ComponentOne Chart 8.0 for ActiveX
PrintChart Method (Chart2D)

 

PrintChart Method (Chart2D)

Prints the chart using the Windows dialog box. Left, Top, Width and Height are measured in pixels.

Syntax

Function PrintChart(Format As FormatConstants, Scale As ScaleConstants, Left As Long, Top As Long, Width As Long, Height As Long) As Boolean

Remarks

Returns True on success, False on failure.

 

Part

Type

Description

Format

Integer

Print format used. See Format Constants for valid values.

Scale

String

Scaling to perform when printing. See Scale Constants for valid values.

Left

Long

Offset from left edge of page.

Top

Long

Offset from top of page.

Width

Long

Width of printed image (if set to 0, use width specified by print device).

Height

Long

Height of printed image (if set to 0, use height specified by print device).

See Also

Chart2D Object

 

 


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

Product Support Forum  |  Documentation Feedback