Private Sub PDFViewSelectionChangedNotification ' A notification posted when the current selection has changed.
Dim nativeObjectCurrentSelection As NativeObject
nativeObjectCurrentSelection = nativeObjectPDFView.GetField ("currentSelection")
If nativeObjectCurrentSelection.IsInitialized Then
Log ("PDFViewSelectionChangedNotification: Current Selection = " & nativeObjectCurrentSelection.GetField ("string").AsString)
Else
Log ("PDFViewSelectionChangedNotification: Not selected")
End If
End Sub