DocumentViewer.ToolModes Enumeration

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
DocumentViewer supports 'built-in' tool modes which change the behavior of the viewer.

Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public enum ToolModes
Visual Basic
Public Enumeration ToolModes
Visual C++
public enum class ToolModes

Members

Member nameValueDescription
Pan0 The mouse can be used to pan the document.
TextSelect1 The mouse can be used to select text.
PanAndAnnotationEdit2 The mouse can be used to pan the document except when it is over an annotion, when it can be used to select/move/resize the annotation.
AnnotationEdit3 The mouse can be used to select/move/resize annotations.
AnnotationCreateCustom4 The mouse can be used to create a custom annotation that derives from Annotation. Note that AnnotationCreator must be set to a static method defined by the custom annotation that returns a new annotation.
AnnotationCreateEllipse5 The mouse can be used to create Ellipse annotations.
AnnotationCreateFreeHand6 The mouse can be used to create FreeHand annotations.
AnnotationCreateLine7 The mouse can be used to create Line annotations.
AnnotationCreateRectangle8 The mouse can be used to create Rectangle annotations.
AnnotationCreateSticky9 The mouse can be used to create Sticky annotations.
AnnotationCreateTextHighlight10 The mouse can be used to create TextHighlight annotations.
AnnotationCreateTextStrikeout11 The mouse can be used to create TextStrikeout annotations.
AnnotationCreateTextUnderline12 The mouse can be used to create TextUnderline annotations.
Custom13 The mouse behavior is defined by the user, and will not select text or cause the document to pan. The DocumentViewer does not implement any keyboard or mouse behaviour in response to keyboard or mouse events when in Custom tool mode.

See Also