PDFDocument.AddAnnotation

From Xojo Documentation

Method

PDFDocument.AddAnnotation(message As String, x As Integer, y As Integer)

New in 2021r2

Supported for all project types and targets.

Adds a widget to the current page at the coordinates passed that when clicked displays the message passed.