PdfViewer.AddStickyNote(PdfDocumentPosition, String) Method
In This Article
Creates a text annotations (sticky note) at the specified document position with the specified comment.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v24.2.dll
NuGet Package: DevExpress.Win.PdfViewer
#Declaration
public void AddStickyNote(
PdfDocumentPosition position,
string comment
)
#Parameters
Name | Type | Description |
---|---|---|
position | Pdf |
The position on the page to locate the sticky note. |
comment | String | The annotation comment. |
#Remarks
The AddStickyNote method calls triggers the PdfViewer.AnnotationCreating event.
The code sample below shows how to create a sticky note:
See Also