 
            | Accusoft.PdfXpressSdk Namespace > Document Class : GetAnnotationCount Method | 
Valid values: [ 0 , Document.PageCount )
Valid values: [ 0 , Document.PageCount )
| Exception | Description | 
|---|---|
| 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. | 
Valid values: [ 0 , Document.PageCount )