←Select platform

CompareView Constructor

Summary

Initializes a new instance of this class.

Syntax
C#
C++/CLI

Parameters

viewers

The DocumentViewers to bind the CompareView to.

Remarks

Exactly two DocumentViewers must be provided. The Document.Viewer at position 0 will be designated the original viewer – Delete DifferenceOperation will be painted to this viewer. The Document.Viewer at position 1 will be designated the modified viewer – Insert DifferenceOperation will be painted to this viewer.

When a CompareView object is instantiated, it will perform the following tasks:

  1. Set up an internal cache for storing text information from the viewers.
  2. Bind into the DocumentViewer.OnOperation event for both viewers.

Specifically, the CompareView object will listen to the following functions:

  1. DocumentViewerOperation.SetDocument
  2. DocumentViewerOperation.GetPage and DocumentViewerOperation.RenderViewPage
Requirements

Target Platforms

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

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.