Debenu Quick PDF logo

ExtractPageTextBlocks

Text, Extraction

Version history

This function was introduced in Quick PDF Library version 9.13.

Description

Similar to the GetPageText function but the results are stored in a text block list rather than returned as a CSV string.

Once the results are in the text block list, functions such as GetTextBlockCount, GetTextBlockText and GetTextBlockColor can be used to retrieve the properties of each block of text.

Syntax

Delphi

function TDebenuPDFLibrary1511.ExtractPageTextBlocks(
  ExtractOptions: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::ExtractPageTextBlocks(
  ExtractOptions As Long) As Long

DLL

int DPLExtractPageTextBlocks(int InstanceID, int ExtractOptions)

Parameters

ExtractOptions 3 = Normal extraction
4 = Split words

Return values

0 The text could not be extracted
Non-zero A TextBlockListID value

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport