SetLineDashEx

Vector graphics

Description

Sets the outline dash pattern for subsequently drawn graphics. The dash pattern can be specified with a series of numeric values as per the PDF specification.

Calling this function with an empty string for the DashValues parameter will return to a solid line style for subseqently drawn graphics.

Syntax

Delphi

function TPDFlib.SetLineDashEx(Const DashValues: WideString): Integer;

ActiveX

Function PDFlib::SetLineDashEx(DashValues As String) As Long

DLL

int DLSetLineDashEx(int InstanceID, wchar_t * DashValues);

Parameters

DashValuesThe dash pattern to use.

Return values

0The value of the DashValues parameter was not valid. It should be a list of numeric values separated by spaces. For example "1 1 5 1".
1The dash pattern was set successfully.