GetFormFieldFontName

フォームフィールド

説明

指定したフォームフィールドが使用しているフォント名を取得します

構文

Delphi

Function TPDFlib.GetFormFieldFontName(Index: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldFontName(Index As Long) As String

DLL

const wchar_t* DLGetFormFieldFontName(int InstanceID, int Index);
const char* DLGetFormFieldFontNameA(int InstanceID, int Index);

パラメータ

Index操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です

戻り値

フィールドの外観で使用されているフォント名を返します。Indexが無効な場合や、フィールドがフォントを指定していない場合は空文字列を返します