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

PdfViewer.SelectAnnotation(Int32, String) Method

Selects an annotation on a page.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v18.2.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 PdfViewer.TextMarkupAnnotationCreating event is raised.

See Also