start Method

Summary

Starts internal comparison operations.

Syntax
TypeScript
JavaScript
CompareView.prototype.start = function() 
start(): void; 

Remarks

Based off the tick-rate that was set with the setCompareTickrate function, the CompareView object will perform the following workflow:

  1. Check an internal cache to see if any new page's text has been cached since the last tick. If no new pages were cached, then the CompareView will not proceed.
  2. Build a string-representation and text-map of all the pages for both LEADDocuments that are in the DocumentViewers.
  3. Call the Document Service StringCompare API endpoint.
  4. Parse the returns from the service into a DocumentDifference object on the client-side.
  5. Update the differences object with the new diff set.
  6. Create and add new AnnTextHiliteObjects for each diff region in the viewer. For more information, refer to metadataKey.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly