DAGetFormFieldValue
양식 필드, Direct access 기능
설명
지정한 양식 필드의 값을 반환합니다
구문
Delphi
Function TPDFlib.DAGetFormFieldValue(FileHandle, FieldIndex: Integer): WideString;
ActiveX
Function PDFlib::DAGetFormFieldValue(FileHandle As Long, FieldIndex As Long) As String
DLL
const wchar_t* DLDAGetFormFieldValue(int InstanceID, int FileHandle, int FieldIndex);
const char* DLDAGetFormFieldValueA(int InstanceID, int FileHandle, int FieldIndex);
매개변수
| FileHandle | DAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들 |
|---|---|
| FieldIndex | 작업할 양식 필드의 인덱스. 첫 번째 양식 필드의 인덱스는 1입니다 |
반환 값
지정한 양식 필드의 값을 반환합니다. 파일 핸들이 잘못되었거나 FieldIndex가 범위를 벗어나면 빈 문자열을 반환합니다.