Debenu Quick PDF logo

DASetTextExtractionArea

Text, Extraction, Direct access functionality

Version history

This function was introduced in Quick PDF Library version 8.13.

Description

Sets the area for certain modes of text extraction. Any text that appears outside this area will be excluded from the results. This function has no effect on text extraction using modes 0 to 2.

This function affects the results of the ExtractFilePageText and DAExtractPageText functions only.

The coordinate values passed into this function are specified in points with the bottom left corner of the page as the origin.

The area limitation can be removed by calling this function with a value of zero for both the Width and Height parameters.

Syntax

Delphi

function TDebenuPDFLibrary1511.DASetTextExtractionArea(Left, Top, Width, 
  Height: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DASetTextExtractionArea(Left As Double,
  Top As Double, Width As Double, Height As Double) As Long

DLL

int DPLDASetTextExtractionArea(int InstanceID, double Left, double Top,
  double Width, double Height)

Parameters

Left The horizontal coordinate of the left edge of the area
Top The vertical coordinate of the top edge of the area
Width The width of the area
Height The height of the area

Return values

1 The text extraction area was set successfully
2 The text extraction area was cleared

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport