SetFormFieldBackgroundColorGray

양식 필드, 색상

설명

지정한 양식 필드의 배경색을 설정합니다. SetFormFieldBackgroundColor 함수와 비슷하지만 Gray 색상 공간에서 단일 색상 성분을 지정합니다. 가능한 값의 범위는 0에서 1입니다

구문

Delphi

Function TPDFlib.SetFormFieldBackgroundColorGray(Index: Integer; G: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBackgroundColorGray(Index As Long, gray As Double) As Long

DLL

int DLSetFormFieldBackgroundColorGray(int InstanceID, int Index, double gray);

매개변수

Index양식 필드의 인덱스 Gray 회색 성분

반환 값

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