SetTextUnderlineCustomDashA
文字
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 SetTextUnderlineCustomDash 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
此函式為後續繪製文字的底線加上虛線效果。
語法
Delphi
Function DLSetTextUnderlineCustomDashA(InstanceID: Integer; DashPattern: PAnsiChar; DashPhase: Double): Integer;
DLL
int DLSetTextUnderlineCustomDashA(int InstanceID, const char* DashPattern, double DashPhase);
參數
| DashPattern | 要使用的虛線樣式,例如 "10 5 0 5"。 |
|---|---|
| DashPhase | 虛線相位。通常設為零。 |