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, const wchar_t * DashValues);
Parameters
| DashValues | The dash pattern to use. |
|---|
Return values
| 0 | The 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". |
|---|---|
| 1 | The dash pattern was set successfully. |