SetTextUnderlineCustomDashA

Text

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetTextUnderlineCustomDash and string arguments are interpreted using the current SetAnsiMode code page

Use this function to apply a dashed effect to the underlines added to subsequently drawn text.

Syntax

Delphi

Function DLSetTextUnderlineCustomDashA(InstanceID: Integer; DashPattern: PAnsiChar; DashPhase: Double): Integer;

DLL

int DLSetTextUnderlineCustomDashA(int InstanceID, const char* DashPattern, double DashPhase);

Parameters

DashPatternThe dash pattern to use, for example "10 5 0 5".
DashPhaseThe dash phase. Usually set to zero.