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 | 폼 필드의 인덱스 |
|---|---|
| G | 색의 회색 구성 요소, 0~1입니다. DLL과 ActiveX 서명은 이 매개변수를 Gray로 부릅니다 |
반환 값
| 0 | 폼 필드를 찾지 못했습니다 |
|---|---|
| 1 | 지정한 폼 필드의 배경 색을 성공적으로 설정했습니다 |