SetLineCap

Vector graphics

Description

Sets the line cap style for subsequently drawn lines.

Syntax

Delphi

function TPDFlib.SetLineCap(LineCap: Integer): Integer;

ActiveX

Function PDFlib::SetLineCap(LineCap As Long) As Long

DLL

int DLSetLineCap(int InstanceID, int LineCap);

Parameters

LineCapThe line cap style to use: 0 = Butt 1 = Round 2 = Projecting square cap

Return values

0The LineCap parameter was not valid
1The line cap style was set successfully