Skip to main content
A newer version of this page is available. .

PdfViewerControl.SelectAnnotation(Int32, String) Method

Selects an annotation on a page.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v22.1.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public void SelectAnnotation(
    int pageNumber,
    string annotationName
)

Parameters

Name Type Description
pageNumber Int32

An integer value, specifying the page number.

annotationName String

A String value that specifies the annotation name.

Remarks

The annotation name and page number can be obtained from the IPdfViewerAnnotationBuilder.Name and PdfTextAnnotationCreatingEventArgs.PageNumber properties when the PdfViewerControl.AnnotationCreating event is raised.

See Also