In This Topic
GdPicture14.WPF Namespace / GdViewer Class / PreviewAnnotationEndEditingText Event

PreviewAnnotationEndEditingText Event

In This Topic
This event is raised when the user has finished editing the content of the sticky note or text GdPicture/XMP annotations by leaving the editable dialogue box.

The event makes use of tunel routing strategy. Please check the corresponded GdViewer.AnnotationEndEditingTextEventArgs for given parameters.

Syntax
'Declaration
 
Public Event PreviewAnnotationEndEditingText As GdViewer.PreviewAnnotationEndEditingTextHandler
public event GdViewer.PreviewAnnotationEndEditingTextHandler PreviewAnnotationEndEditingText
public event PreviewAnnotationEndEditingText: GdViewer.PreviewAnnotationEndEditingTextHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewAnnotationEndEditingTextHandler* PreviewAnnotationEndEditingText
public:
event GdViewer.PreviewAnnotationEndEditingTextHandler^ PreviewAnnotationEndEditingText
Event Data

The event handler receives an argument of type GdViewer.AnnotationEndEditingTextEventArgs containing data related to this event. The following GdViewer.AnnotationEndEditingTextEventArgs properties provide information specific to this event.

PropertyDescription
The 0-based index of the selected annotation within the current page of the displayed document. It is a value from 0 to GetAnnotationCount-1.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Remarks
Be aware, that this event only handles GdPicture/XMP annotations, specifically sticky note and text annotations.
Example
Please follow the example for the AnnotationEndEditingText event to motivate yourself on how to utilize this event in your GdViewer control.
See Also