SetFormFieldBackgroundColorCMYK
Lomakekentät, väri
Kuvaus
Asettaa annetun lomakekentän taustavärin. Muistuttaa SetFormFieldBorderColor-funktiota, mutta värikomponentit annetaan CMYK-väriavaruudessa (Cyan, Magenta, Yellow, Black). Väriparametrien arvot ovat välillä 0–1, jossa 0 tarkoittaa 0 % ja 1 tarkoittaa 100 % väristä
Syntaksi
Delphi
Function TPDFlib.SetFormFieldBackgroundColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long
DLL
int DLSetFormFieldBackgroundColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);
Parametrit
| Index | Lomakekentän indeksi |
|---|---|
| C | Värin syaanikomponentti |
| M | Värin magentakomponentti |
| Y | Värin keltainen komponentti |
| K | Värin musta komponentti |
Paluuarvot
| 0 | Lomakekenttää ei löytynyt Annetun lomakekentän taustavärin asetus onnistui |
|---|---|
| 1 |