API referenceText

pdfSetTextUnderlineColorCMYK

Set the underline stroke color as device CMYK.

CategoryText 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

ParameterTypeDescription
IPDFPPDFInstance handle.
C, M, Y, KDouble0.0..1.0 device CMYK components.

Return value1 on a valid handle; 0 on an invalid handle.

See alsopdfSetTextUnderlineColor

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.