'Declaration
Public Event PreviewAnnotationStartEditingText As GdViewer.PreviewAnnotationStartEditingTextHandler
public event GdViewer.PreviewAnnotationStartEditingTextHandler PreviewAnnotationStartEditingText
public event PreviewAnnotationStartEditingText: GdViewer.PreviewAnnotationStartEditingTextHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewAnnotationStartEditingTextHandler* PreviewAnnotationStartEditingText
public: event GdViewer.PreviewAnnotationStartEditingTextHandler^ PreviewAnnotationStartEditingText
Event Data
The event handler receives an argument of type GdViewer.AnnotationStartEditingTextEventArgs containing data related to this event. The following GdViewer.AnnotationStartEditingTextEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AnnotationIdx | 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. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (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 AnnotationStartEditingText event to motivate yourself on how to utilize this event in your GdViewer control.
See Also