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

PreviewAnnotationResized Event

In This Topic
This event is raised right after a GdPicture/XMP annotation has been resized by a user.

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

Syntax
'Declaration

 

Public Event PreviewAnnotationResized As GdViewer.PreviewAnnotationResizedHandler
public event GdViewer.PreviewAnnotationResizedHandler PreviewAnnotationResized
public event PreviewAnnotationResized: GdViewer.PreviewAnnotationResizedHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewAnnotationResizedHandler* PreviewAnnotationResized
public:

event GdViewer.PreviewAnnotationResizedHandler^ PreviewAnnotationResized
Event Data

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

PropertyDescription
The 0-based index of the resized 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.
Example
Please follow the example for the AnnotationResized event to motivate yourself on how to utilize this event in your GdViewer control.
Example
Please follow the example for the event to motivate yourself on how to utilize this event in your GdViewer control.
See Also