Leadtools.Document.Viewer Assembly Changes

Summary

Version Changes: 21 to 22

New Members (version 22)

The following members have been added:

Name Description
Leadtools.Document.Viewer.DocumentViewer.Dispose(bool) Releases all resources used by this class.
Leadtools.Document.Viewer.DocumentViewer.Finalize This method overrides System.Object.Finalize
Leadtools.Document.Viewer.DocumentViewerAnnotations.Dispose(bool) Releases all resources used by this class.
Leadtools.Document.Viewer.DocumentViewerAnnotations.Finalize This method overrides System.Object.Finalize
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T> Generic data to use when a command is run asynchronously.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.Always Callback to run after the command is run asynchronously.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.Constructor Initializes a new instance of DocumentViewerAsyncOperation\<T\>.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.Done Callback to run asynchronously.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.Error Callback to run if an error occurs when the command is run asynchronously.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.Result Generic result of running the command asynchronously.
Leadtools.Document.Viewer.DocumentViewerAsyncOperation<T>.UserState User-defined state object associated with this asynchronous operation.
Leadtools.Document.Viewer.DocumentViewerBookmarks.Dispose(bool) Releases all resources used by this class.
Leadtools.Document.Viewer.DocumentViewerBookmarks.Finalize This method overrides System.Object.Finalize
Leadtools.Document.Viewer.DocumentViewerCommands.CanRun(string) Checks if a command can run.
Leadtools.Document.Viewer.DocumentViewerCommands.IsSlow(string) Checks whether running a command will be slow.
Leadtools.Document.Viewer.DocumentViewerCommands.Run(string) Runs a command.
Leadtools.Document.Viewer.DocumentViewerCommands.RunAsync(DocumentViewerAsyncOperation,string) Runs a command that does not return a value asynchronously.
Leadtools.Document.Viewer.DocumentViewerCommands.RunAsync(DocumentViewerAsyncOperation,string,object) Runs a command that does not return a value asynchronously with the specified value.

Removed Members (version 22)

The following members have been removed:

Name Description
Leadtools.Document.Viewer.AnnotationsRendererCreatedCallback User callback to invoke when document print has created the annotation rendering engine to use.
Leadtools.Document.Viewer.CompareView.deleteColor The color used for deletion DifferenceOperations.
Leadtools.Document.Viewer.CompareView.dispose Releases all resources used by this CompareView object.
Leadtools.Document.Viewer.CompareView.EnableRasterPreview Indicates whether document pages should be previewed as colorized images.
Leadtools.Document.Viewer.CompareView.insertColor The color used for insertion DifferenceOperations.
Leadtools.Document.Viewer.CompareView.metadataKey Metadata index to use when the CompareView generates diff set annotation markers.
Leadtools.Document.Viewer.CompareView.ModifiedBackgroundColor The color to be used for the background color on all pages of the modified viewer if enableRasterPreview is set to true.
Leadtools.Document.Viewer.CompareView.ModifiedForegroundColor The foreground color to be used with the modified viewer.
Leadtools.Document.Viewer.CompareView.OnActiveDiffChange Callback function that will be triggered whenever one of the CompareView's selected differences has changed.
Leadtools.Document.Viewer.CompareView.onDiffChange Callback function that will be triggered whenever the CompareView's differences set has changed.
Leadtools.Document.Viewer.CompareView.OriginalBackgroundColor The background color to be used with the original viewer.
Leadtools.Document.Viewer.CompareView.OriginalForegroundColor The foreground color to be used with the original viewer.
Leadtools.Document.Viewer.CompareView.resetColor Resets the color values for all views.
Leadtools.Document.Viewer.CompareView.selectedColor The color used for a selected DifferenceOperations region.
Leadtools.Document.Viewer.CompareView.ShouldGetText The callback function that is fired before the CompareView object attempts to get the text for a page.
Leadtools.Document.Viewer.DocumentPrintData Data from a DocumentViewer.Print operation.
Leadtools.Document.Viewer.DocumentPrintPageAction An enumeration to determine the preparation actions to take when printing.
Leadtools.Document.Viewer.DocumentPrintPageData Data for a page used for printing with DocumentViewer.Print.
Leadtools.Document.Viewer.DocumentViewer.EnablePDFRenderingForPages Enables or disables client-side PDF rendering for a range of pages.
Leadtools.Document.Viewer.DocumentViewer.getPDFRenderingObject Gets the internal PDF renderer object being used to render the pages of the specified document.
Leadtools.Document.Viewer.DocumentViewer.IsPDFRenderingForPageEnabled Determines whether client-side PDF rendering is enabled for a page.
Leadtools.Document.Viewer.DocumentViewer.isPDFRenderingSupported Checks if client-side PDF rendering is supported by the current platform.
Leadtools.Document.Viewer.DocumentViewer.isUsingPDFRendering Indicates that Client-side PDF rendering is being used by this document viewer instance.
Leadtools.Document.Viewer.DocumentViewer.maximumPDFRenderingCalColorSpaceImageSize This value is used by the PDF renderer to switch to DeviceRGB/DeviceGray when it encounters a PDF with images that are CalRGB/CalGray with dimensions that are larger than the set value.
Leadtools.Document.Viewer.DocumentViewer.MaximumPDFRenderingRasterPagePixelSize Maximum width or height of PDF raster pages to be considered for client-side rendering.
Leadtools.Document.Viewer.DocumentViewer.openBrowserPrint Opens the browser's native print dialog with the provided print elements and styles.
Leadtools.Document.Viewer.DocumentViewer.print Prints the document set in the viewer with the provided options.
Leadtools.Document.Viewer.DocumentViewer.useAjaxImageLoading Determines how images will be loaded when a new document is loaded.
Leadtools.Document.Viewer.DocumentViewer.usePDFRendering Enable Client-side PDF rendering support in this document viewer.
Leadtools.Document.Viewer.DocumentViewer.usePDFText Enable client-side PDF text extraction in this document viewer.
Leadtools.Document.Viewer.DocumentViewerCreateOptions.thumbnailsCreateOptions Options to use when creating the image viewer for the thumbnails.
Leadtools.Document.Viewer.DocumentViewerCreateOptions.viewCreateOptions Options to use when creating the image viewer for the view.
Leadtools.Document.Viewer.DocumentViewerFindText.data A data property for identification purposes.
Leadtools.Document.Viewer.DocumentViewerFindTextResultsHandler A callback used when a DocumentViewerText.Find operation completes.
Leadtools.Document.Viewer.DocumentViewerPrintProgress Print progress data.
Leadtools.Document.Viewer.DocumentViewerText.find Searches the pages of a document to find matches to the provided text options.
Leadtools.Document.Viewer.DocumentViewerText.foundTextFill The fill used to highlight the results from previous calls to DocumentViewerText.Find.
Leadtools.Document.Viewer.DocumentViewerText.selectedFill The fill color used to highlight the currently selected text.
Leadtools.Document.Viewer.DocumentViewerTextPosition.#ctor Creates a new instance of DocumentViewerTextPosition.
Leadtools.Document.Viewer.DocumentViewerThumbnails.PDFRenderingInterpolationMode PDF rendering interpolation mode.
Leadtools.Document.Viewer.DocumentViewerView.lazyLoad Indicates when images will be loaded.
Leadtools.Document.Viewer.DocumentViewerView.workerCount Indicates the number of view workers.
Leadtools.Document.Viewer.PrintDocumentOptions Specify the document printing options (Selected pages, Page size and orientation).
Leadtools.Document.Viewer.PrintOrientation Determine the printing pages orientation.

Version Changes: 20 to 21

New Members (version 21)

The following members have been added:

Name
None

Removed Members (version 21)

The following members have been removed:

Name
None

Version Changes: 19 to 20

Namespace Change

Leadtools.Document.Viewer namespace in v20 replaces Leadtools.Documents.UI in v19.

Leadtools.Document.Viewer.DocumentViewerFindText Member Changes

The DocumentViewerFindText class (as of version 19.0.0.49) no longer holds internal state for previous searches, and some properties have been added/removed. Refer to DocumentViewerText.Find for more information.

Changed Property Summary of Change

AutoEnsureVisible

Removed - Replaced by SelectFirstResult

AutoSelect

Removed - Replaced by SelectFirstResult

GoToNextPage

Removed - Replaced by BeginPosition and EndPosition

PageNumber

Removed - Replaced by BeginPosition and EndPosition

Recursive

Removed - Replaced by Loop

BeginPosition

Added

EndPosition

Added

FindAll

Added

Loop

Added

RenderResults

Added

SelectFirstResult

Added

Start

Added

ManualStartPosition

Added

DocumentViewerText.Find Method Changes

19.0.0.49 introduced major changes to the behavior of the DocumentViewerText.Find method. Prior to version 19.0.0.49, The function signature of the [Find] method was:

DocumentViewerText.Find was a synchronous method that took three parameters and returned an array of DocumentViewerTextItem that would indicate the next match. Only one match was returned.

DocumentViewerFindText held internal state about the results of the last time it was passed to [Find], so passing the same instance to [Find] could yield different results.

The isFirst parameter indicated whether or not this find text operation should be treated as the first one. If true, searching would start from the beginning of the document.

The findNext parameter was a boolean switch that was true to indicate searching in the forward direction and false to indicate searching in the backward direction.

When a [Find] was successful and results were returned, the LastFindText property would be set to the findText parameter that was passed. This would allow for simpler additional searches: because the DocumentViewerFindText object held internal state about the result, subsequent searches with that same instance would search from the last match. "Find Previous" or "Find Next" operations were possible in this manner.

This version of [Find] did not support "hidden space"/multi-line searches, multipage searches, multiple results with one search, sub-page begin and end character positions, or rendering the results with FoundTextBrush.

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

LEADTOOLS Imaging, Medical, and Document

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