SetFormFieldColorCMYK

양식 필드, 색상

설명

지정한 양식 필드의 텍스트 색상을 설정합니다. SetFormFieldBorderColor 함수와 비슷하지만 색상 구성 요소는 CMYK 색상 공간(Cyan, Magenta, Yellow, Black)으로 지정합니다. 색상 매개변수 값은 0~1이며 0은 색상의 0%, 1은 100%를 나타냅니다

구문

Delphi

Function TPDFlib.SetFormFieldColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetFormFieldColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);

매개변수

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

반환 값

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