SetFormFieldBackgroundColorCMYK

양식 필드, 색상

설명

지정한 양식 필드의 배경색을 설정합니다. SetFormFieldBorderColor 함수와 유사하지만 색상 성분을 CMYK 색상 공간(Cyan, Magenta, Yellow, Black)으로 지정합니다. 색상 매개변수 값은 0~1 범위이며 0은 0%, 1은 색상의 100%를 나타냅니다

구문

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);

매개변수

Index양식 필드의 인덱스
C색상의 청록색 성분
M색상의 자홍색 성분
Y색상의 노란색 성분
K색상의 검은색 성분

반환 값

0양식 필드를 찾을 수 없습니다. 지정한 양식 필드의 배경색이 성공적으로 설정되었습니다
1