GetTextBlockCharWidth
Teks, Font, Ekstraksi
Deskripsi
Mengembalikan lebar karakter tertentu dalam text block yang ditentukan
Sintaks
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);
Parameter
| TextBlockListID | Nilai yang dikembalikan oleh fungsi ExtractPageTextBlocks Index text block. Text block pertama dalam list memiliki index 1 |
|---|---|
| Index | |
| CharIndex | Index karakter yang lebarnya akan diambil. Karakter pertama memiliki index 1 |