SetFormFieldColor

양식 필드, 색상

설명

양식 필드의 텍스트 색상을 설정합니다. 색상 매개변수의 값 범위는 0부터 1까지이며, 0은 색상 0%, 1은 색상 100%를 나타냅니다

구문

Delphi

Function TPDFlib.SetFormFieldColor(Index: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldColor(Index As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetFormFieldColor(int InstanceID, int Index, double Red, double Green, double Blue);

매개변수

Index작업할 양식 필드의 인덱스. 첫 번째 양식 필드의 인덱스는 1입니다
Red색상의 빨간색 성분
Green색상의 녹색 구성 요소
Blue색상의 파란색 성분

반환 값

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