SetTextUnderlineColorSepA

文字、色彩

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 SetTextUnderlineColorSep 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

設定之後帶底線樣式文字的底線繪製顏色。類似 SetTextUnderlineColor 函式,但使用以 AddSeparationColor 函式加入的特別色淡色值

語法

Delphi

Function DLSetTextUnderlineColorSepA(InstanceID: Integer; ColorName: PAnsiChar; Tint: Double): Integer;

DLL

int DLSetTextUnderlineColorSepA(int InstanceID, const char* ColorName, double Tint);

參數

ColorName與 AddSeparationColor 函式搭配使用的特別色名稱
Tint要使用的顏色量。0 表示無色(白),1 表示最大顏色。

傳回值

0找不到特別色名稱
1文字底線顏色設定成功