DrawLine

Vector graphics

Description

Draws a line between two points.

Syntax

Delphi

function TPDFlib.DrawLine(StartX, StartY, EndX, EndY: Double): Integer;

ActiveX

Function PDFlib::DrawLine(StartX As Double, StartY As Double, EndX As Double, EndY As Double) As Long

DLL

int DLDrawLine(int InstanceID, double StartX, double StartY, double EndX, double EndY);

Parameters

StartXHorizontal co-ordinate of start point
StartYVertical co-ordinate of start point
EndXHorizontal co-ordinate of end point Vertical co-ordinate of end point
EndY