ComponentOne Chart 8.0 for ActiveX
DrawToDC Method (Chart2D)

 

DrawToDC Method (Chart2D)

Draws the chart on a specified device. Left, Top, Width and Height are measured in pixels.

Syntax

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

Remarks

Returns TRUE on success, FALSE on failure.

 

Part

Type

Description

Hdc

Long

Microsoft Windows device context handle.

Format

Integer

Print format used. See Format Constants for valid values.

Scale

String

Scaling to perform when drawing. 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 drawn image.

Height

Long

Height of drawn image.

See Also

Chart2D Object

 

 


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

Product Support Forum  |  Documentation Feedback