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