Debenu Quick PDF logo

DAGetTextBlockCharWidth

Text, Fonts, Extraction, Direct access functionality

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.DAGetTextBlockCharWidth(TextBlockListID, Index, 
  CharIndex: Integer): Double;

ActiveX

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

DLL

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

Parameters

TextBlockListID A value returned by the DAExtractPageTextBlocks or ExtractFilePageTextBlocks functions
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