Debenu Quick PDF logo

DASetTextExtractionScaling

Text, Extraction, Direct access functionality

Version history

This function was introduced in Quick PDF Library version 8.16.

Description

Sets the scaling to use for text extraction in Mode 7. This controls the number of rows and columns in the monospaced text output.

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

Syntax

Delphi

function TDebenuPDFLibrary1511.DASetTextExtractionScaling(Options: Integer; 
  Horizontal, Vertical: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DASetTextExtractionScaling(
  Options As Long, Horizontal As Double, Vertical As Double) As Long

DLL

int DPLDASetTextExtractionScaling(int InstanceID, int Options, double Horizontal,
  double Vertical)

Parameters

Options Should always be set to 0. This indicates a scaling factor will be set for the Horizontal and Vertical parameters, with a default value of 5 for horizontal and 8 for vertical. Smaller values stretch the text out into more rows/columns.
Horizontal The scaling to use for the horizontal axis in units defined by the Options parameter.
Vertical The scaling to use for the vertical axis in units defined by the Options parameter.

Return values

0 The Options parameter was not valid or a value less than 1 was used for the Horizontal or Vertical parameters.
1 Text extraction scaling was set successfully.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport