Debenu Quick PDF logo


Form fields, Color


Sets the color of the text in the specified form field. Similar to the SetFormFieldBorderColor 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.



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


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


int DPLSetFormFieldColorCMYK(int InstanceID, int Index, double C, double M,
  double Y, double K)


Index The index of the form field
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

Return values

0 The form field could not be found
1 The text color of the specified form field was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport