n      ICanvas.LineTo

Syntax (0.0.0.0)

procedure LineTo(X, Y: Integer);

Parameter

Parameter

Type

Description

X

Integer

Á÷¼±ÀÇ Á¾·á XÁÂÇ¥¸¦ ³ªÅ¸³½´Ù.

Y

Integer

Á÷¼±ÀÇ Á¾·á YÁÂÇ¥¸¦ ³ªÅ¸³½´Ù.

Description

ÇöÀç Ææ(Pen)À§Ä¡·ÎºÎÅÍ »õ·Î¿î ÁÂÇ¥±îÁö Á÷¼±À» ±×¸°´Ù.

Example

[VBScript]

<SCRIPT LANGUAGE="VBScript">

Sub Chart1_OnAfterDraw()

             Chart1.Canvas.MoveTo  30, 100

             Chart1.Canvas.LineTo  80, 200

End Sub

</SCRIPT>

                          

[java script]

<SCRIPT language=javascript event=OnAfterDraw  for=Chart1>

             Chart1.Canvas.MoveTo(30, 100);

             Chart1.Canvas.LineTo(80, 200);

</SCRIPT>

See Also