Debenu Quick PDF logo

GetTextBlockCharWidth

Text, Fonts, Extraction

Version history

This function was introduced in Quick PDF Library version 9.13.

Description

Returns the width of a particular character within the specified text block.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetTextBlockCharWidth(TextBlockListID, Index, 
  CharIndex: Integer): Double;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetTextBlockCharWidth(
  TextBlockListID As Long, Index As Long, CharIndex As Long) As Double

DLL

double DPLGetTextBlockCharWidth(int InstanceID, int TextBlockListID, int Index,
  int CharIndex)

Parameters

TextBlockListID A value returned by the ExtractPageTextBlocks function
Index The index of the text block. The first text block in the list has an index of 1.
CharIndex The index of the character to retrieve the width of. The first character has an index of 1.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport