SetLineDashExA
Vector graphics
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetLineDashEx and string arguments are interpreted using the current SetAnsiMode code page
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 DLSetLineDashExA(InstanceID: Integer; DashValues: PAnsiChar): Integer;
DLL
int DLSetLineDashExA(int InstanceID, const char * 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. |