Debenu Quick PDF logo

SetTextColorCMYK

Text, Color

Description

Sets the color for any subsequently drawn text. Similar to the SetTextColor function, but the color components are specified in the CMYK color space (Cyan, Magenta, Yellow, Black). The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

C The cyan component of the color
M The magenta component of the color
Y The yellow component of the color
K The black component of the color

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport