preApplyViewPerspective Property (original) (raw)

Summary

Applies page transformation before extracting the text using the OCR or SVG engine

Syntax

Object.defineProperty(DocumentText.prototype, 'preApplyViewPerspective', get: function(), set: function(value) )

preApplyViewPerspective: boolean; 

Property Value

true to apply page transformation before extracting the text using the OCR or SVG engine; otherwise, false. The default value is true.

Remarks

The behavior of DocumentPage.getText depends on the value of preApplyViewPerspective. When the value is true (the default value), the page will apply the transformation before extracting the text using the OCR or SVG engine. Otherwise, the text will be extracted without this transformation, allowing user applications to treat the transformation as a view-only operation.

Leadtools.Document Assembly