The callback function that is fired before the CompareView object attempts to get the text for a page.
shouldGetText(
page: number,
document: LEADDocument
): boolean;
page
Page number to get the text from
document
LEADDocument to get the text from
A boolean indicating whether the CompareView should get the text for the page.
The default value is null, meaning the CompareView object will always get the text for every page. Add a callback function here to have more fine-grained control over which pages the CompareView actually gets the text for.
Note: The CompareView object only tracks text that is retrieved by calling DocumentViewerText.getDocumentPageText. It will not track text that is called directly from the document via DocumentPage.getText.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document