SetTextUnderlineColorSepA

טקסט, צבע

תיאור

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

מגדיר את הצבע לציור הקווים התחתונים עבור טקסט שיצויר לאחר מכן עם סגנון קו תחתון; דומה ל-SetTextUnderlineColor אך משתמש בגוון של צבע separation שנוסף באמצעות הפונקציה AddSeparationColor

תחביר

Delphi

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

DLL

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

פרמטרים

ColorNameThe name of the separation color that was used with the AddSeparationColor function
TintThe amount of color to use. 0 indicates no color (white), 1 indicates maximum color.

ערכי החזרה

0The separation color name could not be found
1צבע הקו התחתון של הטקסט הוגדר בהצלחה