GdPicture.NET.14
GdPicture14 Namespace / GdPicturePDF Class / RemoveAnnotationAction Method
The 0-based index of the required annotation within the current page. It must be a value from 0 to GetAnnotationCount-1.
Example





In This Topic
RemoveAnnotationAction Method (GdPicturePDF)
In This Topic
Removes action from annotation object specified by its index on the currently selected page of the loaded PDF document.
Syntax
'Declaration
 
Public Function RemoveAnnotationAction( _
   ByVal AnnotationIdx As Integer _
) As GdPictureStatus
public GdPictureStatus RemoveAnnotationAction( 
   int AnnotationIdx
)
public function RemoveAnnotationAction( 
    AnnotationIdx: Integer
): GdPictureStatus; 
public function RemoveAnnotationAction( 
   AnnotationIdx : int
) : GdPictureStatus;
public: GdPictureStatus RemoveAnnotationAction( 
   int AnnotationIdx
) 
public:
GdPictureStatus RemoveAnnotationAction( 
   int AnnotationIdx
) 

Parameters

AnnotationIdx
The 0-based index of the required annotation within the current page. It must be a value from 0 to GetAnnotationCount-1.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
This method is only allowed for use with non-encrypted documents.
Example

	
See Also