New to Telerik UI for WinForms? Start a free 30-day trial

Defines how the PDF viewer traverses document annotations for navigation.

Definition

Namespace:Telerik.WinControls.UI.Navigation

Assembly:Telerik.WinControls.PdfViewer.dll

Syntax:

C#
public interface IPdfNavigationBehavior

Properties

Gets or sets the current position used when traversing document annotations.

C#
int CurrentPos { get; set; }

Methods

Advances navigation to the next annotation.

C#
bool MoveNext()
Returns:

bool

true if an annotation was processed; otherwise, false.

Moves navigation to the previous annotation.

C#
bool MovePrev()
Returns:

bool

true if an annotation was processed; otherwise, false.

Sets the navigation position to an annotation in the document.

C#
bool SetCurrentAnnotation(Annotation annot)
Parameters:annotAnnotation

The annotation to select as the current navigation position.

Returns:

bool

true if the annotation is in the loaded document; otherwise, false.

Exceptions: NullReferenceException

The default implementation is used before that collection is initialized.

The default implementation requires a loaded document with an initialized annotation collection.