StartPath

Vector graphics, Path definition and drawing

Description

Starts a multi-segment path.

Syntax

Delphi

Function TPDFlib.StartPath(StartX, StartY: Double): Integer;

ActiveX

Function PDFlib::StartPath(StartX As Double, StartY As Double) As Long

DLL

int DLStartPath(int InstanceID, double StartX, double StartY);

Parameters

StartXHorizontal co-ordinate of the point where the curve should start
StartYVertical co-ordinate of the point where the curve should start

Return values

1The path was started at the given position
0A path is already open and must be painted or discarded first; LastErrorCode is set to the API scope error