Accusoft.PdfXpress7.Net
GetAnnotationCount Method




An integer which represents a zero-based page index in the PDF Document.

Valid values: [ 0 , Document.PageCount )

Reports the number of PDF Annotations on a specific page in the PDF document.
Syntax
'Declaration
 
Public Function GetAnnotationCount( _
   ByVal whichPage As Integer _
) As Integer
'Usage
 
Dim instance As Document
Dim whichPage As Integer
Dim value As Integer
 
value = instance.GetAnnotationCount(whichPage)
public int GetAnnotationCount( 
   int whichPage
)
public: int GetAnnotationCount( 
   int whichPage
) 
public:
int GetAnnotationCount( 
   int whichPage
) 

Parameters

whichPage
An integer which represents a zero-based page index in the PDF Document.

Valid values: [ 0 , Document.PageCount )

Return Value

The number of PDF Annotations on whichPage in the PDF document.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Thrown if the parameter whichPage is not a valid value.
PdfXpressNotIntializedException Thrown if invoked before PDF Xpress is initialized.
PdfXpressLicensingException Thrown if this feature is unavailable for the current license edition.
PdfXpressException Thrown in the main PDF library.
Remarks

Valid values: [ 0 , Document.PageCount )

See Also

Reference

Document Class
Document Members
Initialize Method
Initialize(String,String) Method
Licensing Property

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback