SetLineDash

Vector graphics

Description

Sets the outline dash pattern for subsequently drawn graphics until the next NewPage or SelectPage call.

Calling this function with either parameter set to zero will return to a solid line style for subseqently drawn graphics.

Syntax

Delphi

Function TPDFlib.SetLineDash(DashOn, DashOff: Double): Integer;

ActiveX

Function PDFlib::SetLineDash(DashOn As Double, DashOff As Double) As Long

DLL

int DLSetLineDash(int InstanceID, double DashOn, double DashOff);

Parameters

DashOnThe width of the dashes
DashOffThe width of the space between the dashes

Return values

Returns 1. The dash lengths are converted using the current measurement units