DocumentViewerOperation Enumeration

Summary

Values which specify a document viewer operation.

Syntax
TypeScript
JavaScript
lt.Document.Viewer.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, 
	renderViewPage: 28, 
	renderThumbnailPage: 29, 
	detachFromDocument: 30, 
	attachToDocument: 31, 
	pageRotate: 32, 
	pageDisabled: 33, 
	pageEnabled: 34, 
	pagesDisabledEnabled: 35, 
	currentPageNumberChanged: 36, 
	loadingPage: 37, 
	saveToCache: 38, 
	renderInteractiveFormFields: 39, 
	updateInteractiveFormField: 40 
} 
lt.Document.Viewer.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, 
	renderViewPage: 28, 
	renderThumbnailPage: 29, 
	detachFromDocument: 30, 
	attachToDocument: 31, 
	pageRotate: 32, 
	pageDisabled: 33, 
	pageEnabled: 34, 
	pagesDisabledEnabled: 35, 
	currentPageNumberChanged: 36, 
	loadingPage: 37, 
	saveToCache: 38, 
	renderInteractiveFormFields: 39, 
	updateInteractiveFormField: 40       
} 
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) 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 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

(10) 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 already 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 a 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 an 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 values have changed.

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's 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 LEADDocument 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 Document.Pages of the LEADDocument object in the viewer.

26

FindText

(26) Indicates that a Find Text operation from DocumentViewerText.Find has begun or has been 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.

28

RenderViewPage

(28) DocumentViewerView is rendering a DocumentPage.

29

RenderThumbnailPage

(29) DocumentViewerThumbnails is rendering a DocumentPage.

30

DetachFromDocument

(30) DocumentViewer.SetDocument is removing the previous DocumentViewer.Document.

31

AttachToDocument

(31) DocumentViewer.SetDocument is adding the new DocumentViewer.Document.

32

PageRotate

(32) DocumentViewer.rotatePages is rotating a page.

33

PageDisabled

(33) DocumentViewer is marking a page as disabled.

34

PageEnabled

(34) DocumentViewer is marking a page as enabled.

35

PagesDisabledEnabled

(35) DocumentViewer is marking pages as disabled or enabled.

36

CurrentPageNumberChanged

(36) DocumentViewer.currentPageNumber is changing.

37

LoadingPage

(37) DocumentViewer is loading page.

38

SaveToCache

(38) DocumentViewer is set to save to cache.
Remarks

The 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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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