DAGetFormFieldTitle

フォームフィールド、直接アクセス機能

説明

指定フォームフィールドのタイトルを返す

構文

Delphi

Function TPDFlib.DAGetFormFieldTitle(FileHandle, FieldIndex: Integer): WideString;

ActiveX

Function PDFlib::DAGetFormFieldTitle(FileHandle As Long, FieldIndex As Long) As String

DLL

const wchar_t* DLDAGetFormFieldTitle(int InstanceID, int FileHandle, int FieldIndex);
const char* DLDAGetFormFieldTitleA(int InstanceID, int FileHandle, int FieldIndex);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル
FieldIndex操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です

戻り値

指定されたフォームフィールドのタイトルを返します。ファイルハンドルが無効な場合やFieldIndexが範囲外の場合は空文字列を返します。