GetTextBlockFontName
テキスト, フォント, 抽出
説明
指定したテキストブロック内のテキストのフォント名を返します
構文
Delphi
Function TPDFlib.GetTextBlockFontName(TextBlockListID, Index: Integer): WideString;
ActiveX
Function PDFlib::GetTextBlockFontName(TextBlockListID As Long, Index As Long) As String
DLL
const wchar_t* DLGetTextBlockFontName(int InstanceID, int TextBlockListID, int Index);
const char* DLGetTextBlockFontNameA(int InstanceID, int TextBlockListID, int Index);
パラメータ
| TextBlockListID | ExtractPageTextBlocks 関数が返す値 |
|---|---|
| Index | テキストブロックのインデックス。リスト内の最初のテキストブロックのインデックスは 1 です。 |
戻り値
指定されたブロックのテキストで使用されているフォント名を返します。TextBlockListIDが有効なテキストブロックリストを識別していない場合は空文字列を返します。