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 text extraction. Any text that appears outside this area will be excluded from the results.

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 TQuickPDF0815.DASetTextExtractionArea(Left, Top, Width, 
  Height: Double): Integer;

ActiveX

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

DLL

int QuickPDFDASetTextExtractionArea(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 © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum