Debenu Quick PDF logo

SetTextHighlightColorCMYK

Text, Color

Description

Sets the color used to highlight text, but allows the color to be specified in the CMYK color space.

Syntax

Delphi

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

ActiveX

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

DLL

int DPLSetTextHighlightColorCMYK(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 highlight 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 highlight 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 highlight 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 highlight color. 0 indicates no black, 1 indicates maximum black.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport