SetFormFieldChoiceType
양식 필드
설명
Choice 양식 필드를 콤보 상자 또는 목록 상자로 설정합니다
구문
Delphi
Function TPDFlib.SetFormFieldChoiceType(Index, ChoiceType: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldChoiceType(Index As Long, ChoiceType As Long) As Long
DLL
int DLSetFormFieldChoiceType(int InstanceID, int Index, int ChoiceType);
매개변수
| Index | 양식 필드의 인덱스 |
|---|---|
| ChoiceType | 1 = 양식 필드를 스크롤 가능한 목록 상자로 설정 2 = 양식 필드를 드롭다운 콤보 상자로 설정 3 = 양식 필드를 다중 선택 가능한 스크롤 목록 상자로 설정 4 = 양식 필드를 편집 상자가 있는 드롭다운 콤보 상자로 설정 |
반환 값
| 0 | 필드가 변경되지 않았습니다 |
|---|---|
| 1 | 필드가 성공적으로 변경되었습니다 |