DocumentViewerOperation Enumeration

Summary

Indicates a document viewer operation.

Syntax

JavaScript Syntax
lt.Documents.UI.DocumentViewerOperation = { 
	SetDocument: 0, 
	LoadingThumbnails: 1, 
	GetThumbnail: 2, 
	LoadingPages: 3, 
	GetPage: 4, 
	RunCommand: 5, 
	GotoPage: 6, 
	ItemTypeChanged: 7, 
	GetText: 8, 
	PageTextSelectionChanged: 9, 
	TextSelectionChanged: 10, 
	RenderItemPlaceholder: 11, 
	RenderSelectedText: 12, 
	GotoBookmark: 13, 
	RunLink: 14, 
	LoadingAnnotations: 15, 
	GetAnnotations: 16, 
	CreateAutomation: 17, 
	DestroyAutomation: 18, 
	AutomationStateChanged: 19, 
	SelectedTextToReviewObject: 20, 
	LoadingBookmarks: 21, 
	HoverLink: 22, 
	PrintPages: 23, 
	PagesAdded: 24, 
	PagesRemoved: 25, 
	FindText: 26, 
	RenderFoundText: 27 
} 
TypeScript Syntax
lt.Documents.UI.DocumentViewerOperation = { 
	SetDocument: 0, 
	LoadingThumbnails: 1, 
	GetThumbnail: 2, 
	LoadingPages: 3, 
	GetPage: 4, 
	RunCommand: 5, 
	GotoPage: 6, 
	ItemTypeChanged: 7, 
	GetText: 8, 
	PageTextSelectionChanged: 9, 
	TextSelectionChanged: 10, 
	RenderItemPlaceholder: 11, 
	RenderSelectedText: 12, 
	GotoBookmark: 13, 
	RunLink: 14, 
	LoadingAnnotations: 15, 
	GetAnnotations: 16, 
	CreateAutomation: 17, 
	DestroyAutomation: 18, 
	AutomationStateChanged: 19, 
	SelectedTextToReviewObject: 20, 
	LoadingBookmarks: 21, 
	HoverLink: 22, 
	PrintPages: 23, 
	PagesAdded: 24, 
	PagesRemoved: 25, 
	FindText: 26, 
	RenderFoundText: 27 
} 

Members

0 SetDocument

(0) A new document has been set using SetDocument

1 LoadingThumbnails

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

2 GetThumbnail

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

3 LoadingPages

(3) Not used.

4 GetPage

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

5 RunCommand

(5) DocumentViewerCommands is running a command

6 GotoPage

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

7 ItemTypeChanged

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

8 GetText

(8) DocumentViewerText is getting the DocumentPageText for a page

9 PageTextSelectionChanged

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

10 TextSelectionChanged

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

11 RenderItemPlaceholder

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

12 RenderSelectedText

(12) DocumentViewerText is hilighting 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) DocumentViewerPageLinksInteractiveMode indicates that the user has clicked a link using the mouse or touch

15 LoadingAnnotations

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

16 GetAnnotations

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

17 CreateAutomation

(17) DocumentViewerAnnotations 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) DocumentViewerAnnotations no longer requires annotations automation system and the user should delete and update the user interface

19 AutomationStateChanged

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

20 SelectedTextToReviewObject

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

21 LoadingBookmarks

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

22 HoverLink

(22) 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 from DocumentViewer.Print has started.

24 PagesAdded

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

25 PagesRemoved

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

26 FindText

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

27 RenderFoundText

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

Remarks

DocumentViewer fires the Operation event before and after it performs any operation to allow the user to monitor, modify or abort the action as well as update the application 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly