GdPicture.NET.14.API
GdPicture14 Namespace / AnnotationManager Class / RenderAnnotation Method
The 0-based index of the required annotation within the selected page of the handled document. It must be a value from 0 to AnnotationManager.GetAnnotationCount-1.
The rendering zoom level. IE: 1 means 100%, 2 means 200%...





In This Topic
RenderAnnotation Method (AnnotationManager)
In This Topic
Renders the appearance of a specific annotation into a GdPicture image.
Syntax
'Declaration
 
Public Function RenderAnnotation( _
   ByVal AnnotationIdx As Integer, _
   ByVal Zoom As Single _
) As Integer
public int RenderAnnotation( 
   int AnnotationIdx,
   float Zoom
)
public function RenderAnnotation( 
    AnnotationIdx: Integer;
    Zoom: Single
): Integer; 
public function RenderAnnotation( 
   AnnotationIdx : int,
   Zoom : float
) : int;
public: int RenderAnnotation( 
   int AnnotationIdx,
   float Zoom
) 
public:
int RenderAnnotation( 
   int AnnotationIdx,
   float Zoom
) 

Parameters

AnnotationIdx
The 0-based index of the required annotation within the selected page of the handled document. It must be a value from 0 to AnnotationManager.GetAnnotationCount-1.
Zoom
The rendering zoom level. IE: 1 means 100%, 2 means 200%...

Return Value

A GdPicture image identifier in case of success, 0 if failure.
Remarks
It is recommend to use the AnnotationManager.GetStat method to identify the specific reason for the method's failure, if any.
See Also