SetFormFieldBackgroundColor

양식 필드, 색상

설명

지정한 양식 필드의 배경색을 설정합니다 색상 매개변수 값의 범위는 0에서 1이며 0은 색상 0%, 1은 색상 100%를 나타냅니다

구문

Delphi

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

ActiveX

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

DLL

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

매개변수

Index양식 필드의 인덱스
Red색상의 빨간색 성분
Green색상의 녹색 성분 색상의 파란색 성분
Blue

반환 값

0양식 필드를 찾을 수 없거나 매개변수가 잘못되었습니다. 양식 필드의 배경색이 성공적으로 설정되었습니다
1