←Select platform

DocumentViewerOperation Enumeration

Summary

Indicates a document viewer operation.

Syntax
C#
VB
C++
public enum DocumentViewerOperation 
Public Enum DocumentViewerOperation 
public: 
   enum class DocumentViewerOperation sealed 

Members
Value Member

Description

0 SetDocument

(0) A new document has been set using SetDocument

1 LoadingThumbnails

(1) The DocumentViewerThumbnails is loading the thumbnails in a background thread

2 GetThumbnail

(2) The DocumentViewerThumbnails is getting the thumbnail of an image in a background thread

3 LoadingPages

(3) Not used.

4 GetPage

(4) The DocumentViewerView is getting the image data of a page in a background thread

5 RunCommand

(5) DocumentViewerCommands is running a command

6 GotoPage

(6) GotoPage has been invoked directly or as a result of a user interface interaction

7 ItemTypeChanged

(7) ItemType has been changed from its previous value due to the IsSvgViewingPreferred value of the new document set in the viewer

8 GetText

(8) The DocumentViewerText is getting the DocumentPageText for a page

9 PageTextSelectionChanged

(9) The DocumentViewerText is modifying the selected text of a page

10 TextSelectionChanged

(9) The DocumentViewerText is modifying the selected text of a page

11 RenderItemPlaceholder

(11) The DocumentViewerView virtualizer is rendering the place holder of a page that does not have its image data fetched

12 RenderSelectedText

(12) DocumentViewerText is highlighting the selected text on View.ImageViewer

13 GotoBookmark

(13) GotoBookmark has been invoked directly or as a result of user interface interaction

14 RunLink

(14) The DocumentViewerPageLinksInteractiveMode indicates that the user has clicked a link using the mouse or touch

15 LoadingAnnotations

(15) The DocumentViewerAnnotations object is loading annotation containers of the document in a background thread

16 GetAnnotations

(16) The DocumentViewerAnnotations object is getting the annotation container of a page using GetAnnotations in a background thread

17 CreateAutomation

(17) The DocumentViewerAnnotations object has finished loading all the annotation containers in the background and the application should create the annotations automation system and update the user interface

18 DestroyAutomation

(15) The DocumentViewerAnnotations object no longer requires the annotations automation system and the user should delete and update the user interface

19 AutomationStateChanged

(19) The DocumentViewerAnnotations object has changed the state of the automation. For example, UserMode or CurrentDesigner has changed.

20 SelectedTextToReviewObject

(20) The SelectedTextToReviewObject has been called either directly or as the result of the user drawing a new AnnTextReviewObject annotation on a page

21 LoadingBookmarks

(21) DocumentViewerBookmarks is parsing the document structure and loading its bookmarks using DocumentStructure

22 HoverLink

(22) The DocumentViewerPageLinksInteractiveMode indicates that the user has hovered over (entered) or out of (left) a link area using the mouse

23 PrintPages

(23) Indicates that a print operation has started.

24 PagesAdded

(24) Indicates that pages have been added to the document as a result of the user adding items to the DocumentPages object in the viewer.

25 PagesRemoved

(25) Indicates that pages have been removed from the document as a result of the user adding items to the DocumentPages object in the viewer.

26 FindText

(26) Indicates that a Find Text operation from the DocumentViewerText.Find object has begun or has been completed for a given page or all pages.

27 RenderFoundText

(27) The DocumentViewerText object is highlighting the found text on the DocumentViewerView.ImageViewer from a DocumentViewerText.Find operation.

28 RenderViewPage (28) The DocumentViewerView object is rendering a DocumentPage.
29 RenderThumbnailPage (29) The DocumentViewerThumbnails object is rendering a DocumentPage.
30 DetachFromDocument (30) The DocumentViewer.SetDocument object is removing the previous DocumentViewer.Document.
31 AttachToDocument (31) The DocumentViewer.SetDocument object is adding the new DocumentViewer.Document.
32 PageRotate (32) The DocumentViewer.RotatePages object is rotating a page.
33 PageDisabled (33) The DocumentViewer is marking a page as disabled.
34 PageEnabled (34) The DocumentViewer is marking a page as enabled.
35 PagesDisabledEnabled (35) The DocumentViewer is marking pages as disabled or enabled.
36 CurrentPageNumberChanged (36) The DocumentViewer.CurrentPageNumber is changing.

Remarks

The DocumentViewer fires the Operation event before and after it performs any operation so the user can monitor, modify, or abort the action. It also updates the application's state when an operation is run.

Refer to Document Viewer Operations for more information.

History

19.0.0.49

Added two new enumeration members:

  • (26) FindText
  • (27) RenderFoundText

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.WinForms Assembly