Object Reference > Chart2D Object > 2DChart Object Methods > PrintChart Method (Chart2D) |
PrintChart Method (Chart2D)
Prints the chart using the Windows dialog box. Left, Top, Width and Height are measured in pixels.
Function PrintChart(Format As FormatConstants, Scale As ScaleConstants, Left As Long, Top As Long, Width As Long, Height As Long) As Boolean
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