SetTextUnderlineColorSep
文本、颜色
描述
设置用于绘制后续带下划线样式文本线条的颜色。与 SetTextUnderlineColor 函数类似,但使用通过 AddSeparationColor 函数添加的分色颜色的色调
语法
Delphi
Function TPDFlib.SetTextUnderlineColorSep(Const ColorName: WideString; Tint: Double): Integer;
ActiveX
Function PDFlib::SetTextUnderlineColorSep(ColorName As String, Tint As Double) As Long
DLL
int DLSetTextUnderlineColorSep(int InstanceID, const wchar_t * ColorName, double Tint);
参数
| ColorName | 通过 AddSeparationColor 函数使用的分色颜色名称 |
|---|---|
| Tint | 要使用的颜色量。0 表示无颜色(白色),1 表示最大颜色量 |
返回值
| 0 | 找不到分色颜色名称 |
|---|---|
| 1 | 已成功设置文本下划线颜色 |