GetTextBlockCharWidth
テキスト, フォント, 抽出
説明
指定したテキストブロック内の特定の文字の幅を返します
構文
Delphi
Function TPDFlib.GetTextBlockCharWidth(TextBlockListID, Index, CharIndex: Integer): Double;
ActiveX
Function PDFlib::GetTextBlockCharWidth(TextBlockListID As Long, Index As Long, CharIndex As Long) As Double
DLL
double DLGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index, int CharIndex);
パラメータ
| TextBlockListID | ExtractPageTextBlocks 関数が返す値 テキストブロックのインデックス。リストの最初のテキストブロックのインデックスは 1 |
|---|---|
| Index | |
| CharIndex | 幅を取得する文字のインデックス。最初の文字のインデックスは 1 です |