←Select platform

DocumentViewerOperation Enumeration

Summary

Indicates a document viewer operation.

Syntax
C#
C++/CLI
public enum DocumentViewerOperation 
public: 
   enum class DocumentViewerOperation sealed 
Members
Value Member Description
0 SetDocument A new document has been set using SetDocument
1 LoadingThumbnails The DocumentViewerThumbnails is loading the thumbnails in a background thread
2 GetThumbnail The DocumentViewerThumbnails is getting the thumbnail of an image in a background thread
3 LoadingPages Not used.
4 GetPage The DocumentViewerView is getting the image data of a page in a background thread
5 RunCommand DocumentViewerCommands is running a command
6 GotoPage GotoPage has been invoked directly or as a result of a user interface interaction
7 ItemTypeChanged ItemType has been changed from its previous value due to the IsSvgViewingPreferred value of the new document set in the viewer
8 GetText The DocumentViewerText is getting the DocumentPageText for a page
9 PageTextSelectionChanged The DocumentViewerText is modifying the selected text of a page
10 TextSelectionChanged The DocumentViewerText is modifying the selected text of a page
11 RenderItemPlaceholder The DocumentViewerView virtualizer is rendering the place holder of a page that does not have its image data fetched
12 RenderSelectedText DocumentViewerText is highlighting the selected text on View.ImageViewer
13 GotoBookmark GotoBookmark has been invoked directly or as a result of user interface interaction
14 RunLink The DocumentViewerPageLinksInteractiveMode indicates that the user has clicked a link using the mouse or touch
15 LoadingAnnotations The DocumentViewerAnnotations object is loading annotation containers of the document in a background thread
16 GetAnnotations The DocumentViewerAnnotations object is getting the annotation container of a page using GetAnnotations in a background thread
17 CreateAutomation 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 The DocumentViewerAnnotations object no longer requires the annotations automation system and the user should delete and update the user interface
19 AutomationStateChanged The DocumentViewerAnnotations object has changed the state of the automation. For example, UserMode or CurrentDesigner has changed.
20 SelectedTextToReviewObject The SelectedTextToReviewObject has been called either directly or as the result of the user drawing a new AnnTextReviewObject annotation on a page
21 LoadingBookmarks DocumentViewerBookmarks is parsing the document structure and loading its bookmarks using DocumentStructure
22 HoverLink The DocumentViewerPageLinksInteractiveMode indicates that the user has hovered over (entered) or out of (left) a link area using the mouse
23 PrintPages Indicates that a print operation has started.
24 PagesAdded 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 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 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 The DocumentViewerText object is highlighting the found text on the DocumentViewerView.ImageViewer from a DocumentViewerText.Find operation.
28 RenderViewPage The DocumentViewerView object is rendering a DocumentPage.
29 RenderThumbnailPage The DocumentViewerThumbnails object is rendering a DocumentPage .
30 DetachFromDocument The DocumentViewer.SetDocument object is removing the previous DocumentViewer.Document .
31 AttachToDocument The DocumentViewer.SetDocument object is adding the new DocumentViewer.Document .
32 PageRotate The DocumentViewer.RotatePages object is rotating a page.
33 PageDisabled The DocumentViewer is marking a page as disabled.
34 PageEnabled The DocumentViewer is marking a page as enabled.
35 PagesDisabledEnabled The DocumentViewer is marking pages as disabled or enabled.
36 CurrentPageNumberChanged The DocumentViewer.CurrentPageNumber is changing.
37 LoadingPage The DocumentViewer is loading a page.
38 SaveToCache The DocumentViewer is set to save to cache.
39 RenderInteractiveFormFields Render Interactive Form Fields
40 UpdateInteractiveFormField Update Interactive Form Field
41 CreateInteractiveFormFieldElement Create Interactive Form Field Element
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 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.