Skip to main content
All docs
V23.2

PdfViewer.AddStickyNote(PdfDocumentPosition) Method

Creates a text annotations (sticky note) at the specified document position.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v23.2.dll

NuGet Package: DevExpress.Win.PdfViewer

Declaration

public void AddStickyNote(
    PdfDocumentPosition position
)

Parameters

Name Type Description
position PdfDocumentPosition

The position of the sticky note on the page.

Remarks

The AddStickyNote method calls triggers the PdfViewer.AnnotationCreating event.

The code sample below shows how to create a sticky note:

pdfViewer.AddStickyNote(new PdfDocumentPosition(1, new PdfPoint(29, 568)));
See Also