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.v19.1.dll

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 PdfTextMarkupAnnotationCreatingEventArgs.Name and PdfTextMarkupAnnotationCreatingEventArgs.PageNumber properties when the PdfViewerControl.TextMarkupAnnotationCreating event is raised.

See Also