GdPicture.NET Reference Guide
GdViewer.BeforeAnnotationAddedByUserEventHandler Delegate





GdPicture14 Namespace : GdViewer.BeforeAnnotationAddedByUserEventHandler Delegate
The 0-based index of the newly added annotation within the current page of the displayed document. It is a value from 0 to GdPicture14.GdViewer.GetAnnotationCount-1.
Defines the event handler for the BeforeAnnotationAddedByUser event.
Syntax
'Declaration
 
<GuidAttribute("ACB229C4-C9BF-3BA3-9B4F-83A6DE238C6E")>
Public Delegate Sub GdViewer.BeforeAnnotationAddedByUserEventHandler( _
   ByVal AnnotationIdx As Integer _
) 
[Guid("ACB229C4-C9BF-3BA3-9B4F-83A6DE238C6E")]
public delegate void GdViewer.BeforeAnnotationAddedByUserEventHandler( 
   int AnnotationIdx
)
public delegate GdViewer.BeforeAnnotationAddedByUserEventHandler( 
    AnnotationIdx: Integer
);
GuidAttribute("ACB229C4-C9BF-3BA3-9B4F-83A6DE238C6E")
public delegate GdViewer.BeforeAnnotationAddedByUserEventHandler( 
   AnnotationIdx : int
)
[Guid("ACB229C4-C9BF-3BA3-9B4F-83A6DE238C6E")]
public: __gc __delegate void GdViewer.BeforeAnnotationAddedByUserEventHandler( 
   int AnnotationIdx
)
[Guid("ACB229C4-C9BF-3BA3-9B4F-83A6DE238C6E")]
public delegate void GdViewer.BeforeAnnotationAddedByUserEventHandler( 
   int AnnotationIdx
)

Parameters

AnnotationIdx
The 0-based index of the newly added annotation within the current page of the displayed document. It is a value from 0 to GdPicture14.GdViewer.GetAnnotationCount-1.
Example
Please follow the example attached to the BeforeAnnotationAddedByUser event.
See Also

Reference

GdViewer.BeforeAnnotationAddedByUserEventHandler Members
GdPicture14 Namespace
BeforeAnnotationAddedByUser Event