| Category | Text decoration |
|---|
Purpose — Set the underline stroke color as device CMYK.
Declarations
C
int32_t __stdcall pdfSetTextUnderlineColorCMYK(PPDF IPDF, double C, double M, double Y, double K);
Delphi
function pdfSetTextUnderlineColorCMYK(const IPDF: PPDF; C, M, Y, K: Double): Integer; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
C, M, Y, K | Double | 0.0..1.0 device CMYK components. |
Return value — 1 on a valid handle; 0 on an invalid handle.
See also — pdfSetTextUnderlineColor
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfSetTextUnderlineColorCMYK(IntPtr IPDF, double C, double M, double Y, double K);
Area
Text
Category
Setters
Exported names
pdfSetTextUnderlineColorCMYK
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.