SetTextUnderlineColorSep
Văn bản, Màu
Mô tả
Đặt màu dùng vẽ nét gạch chân cho các đoạn chữ có kiểu underline vẽ sau đó. Tương tự hàm SetTextUnderlineColor nhưng dùng tint của một màu separation đã thêm bằng hàm AddSeparationColor
Cú pháp
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);
Tham số
| ColorName | Tên màu separation đã dùng với hàm AddSeparationColor |
|---|---|
| Tint | Lượng màu cần dùng. 0 là không có màu (trắng), 1 là màu tối đa |
Giá trị trả về
| 0 | Không tìm thấy tên màu separation |
|---|---|
| 1 | Đã đặt màu gạch chân chữ thành công |