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