Debenu Quick PDF logo


Text, Extraction, Direct access functionality

Version history

This function was introduced in Quick PDF Library version 8.13.


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.

By default coordinates are measured in points from the bottom left corner of the page, this can be changed using the SetGlobalOrigin and SetGlobalMeasurementUnits function.

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



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


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


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


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 © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport