Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfCursorMode Enum

Lists values that specify the interaction mode for keyboard and cursor.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v24.2.dll

NuGet Package: DevExpress.Win.PdfViewer

#Declaration

public enum PdfCursorMode

#Members

Name Description Example
SelectTool

This tool is used for navigation in a document. You can also select text and images in a document to copy using a keyboard and mouse.

select-cursor

HandTool

This tool is used for navigation. The end-user can browse the document by moving the mouse while pressing the left button.

PDF_Hand

MarqueeZoom

This tool is used to change the zoom level and navigate in a document. The end-user can increase the zoom level by simply clicking, decrease the zoom level by clicking while pressing the Ctrl key, or zoom in on a portion of a page by dragging the rectangle around it.

PDF_Marquee

Custom

The PDF Viewer does not handle mouse and keyboard events. You can handle these events to create your custom interaction tool. To change a cursor, use the PdfViewer.CursorMode property.

TextHighlightTool

Applies highlight formatting to text.

HighlightTextTool

TextStrikethroughTool

Applies strikethrough formatting to text.

HighlightTextTool

TextUnderlineTool

Applies underline formatting to text.

HighlightTextTool

StickyNoteTool

Creates text annotations (sticky notes).

cursor

FreeTextTool

Create a free text annotation (a text box).

cursor

CalloutTool

Create a callout (a combination of a text box and a pointer line to a specific location).

cursor

#Related API Members

The following properties accept/return PdfCursorMode values:

#Remarks

The values listed by this enumeration are used to set the PdfViewer.CursorMode property’s value.

See Also