Debenu Quick PDF logo

SetTextUnderlineColorCMYK

Text, Color

Description

Sets the color used to draw the lines for subsequently drawn text that has an underline style, but allows the color to be set using the CMYK color space.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetTextUnderlineColorCMYK(C, M, Y, 
  K: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetTextUnderlineColorCMYK(C As Double,
  M As Double, Y As Double, K As Double) As Long

DLL

int DPLSetTextUnderlineColorCMYK(int InstanceID, double C, double M, double Y,
  double K)

Parameters

C A value between 0 and 1 indicating the amount of cyan to add to the underline color. 0 indicates no cyan, 1 indicates maximum cyan.
M A value between 0 and 1 indicating the amount of magenta to add to the underline color. 0 indicates no magenta, 1 indicates maximum magenta.
Y A value between 0 and 1 indicating the amount of yellow to add to the underline color. 0 indicates no yellow, 1 indicates maximum yellow.
K A value between 0 and 1 indicating the amount of black to add to the underline color. 0 indicates no black, 1 indicates maximum black.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport