GetFormFieldBackgroundColor
양식 필드, 색상
설명
지정한 필드의 배경색을 반환합니다. 사용할 수 있는 값 수는 양식 필드에 지정된 색상 유형에 따라 달라집니다. 사용할 수 있는 구성 요소 수는 theGetFormFieldBackgroundColorType 함수로 가져올 수 있습니다
0 = 지정된 색상 없음
1 = DeviceGray(1개 성분)
3 = DeviceRGB(3개 성분)
4 = CMYK(구성 요소 4개
구문
Delphi
Function TPDFlib.GetFormFieldBackgroundColor(Index, ColorComponent: Integer): Double;
ActiveX
Function PDFlib::GetFormFieldBackgroundColor(Index As Long, ColorComponent As Long) As Double
DLL
double DLGetFormFieldBackgroundColor(int InstanceID, int Index, int ColorComponent);
매개변수
| Index | 검사할 양식 필드의 인덱스 |
|---|---|
| ColorComponent | DeviceGray(색상 유형 = 1)의 경우 1 = 회색 수준 DeviceRGB(색상 유형 = 3)의 경우 1 = 빨간색 2 = 녹색 3 = 파란색 DeviceCMYK(색상 유형 = 4)의 경우 1 = 청록색 2 = 자홍색 3 = 노란색 4 = 검은색 |