Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- pageIndex
- The zero-based page number of the Document from which the annotation should be retrieved.
- annotationIndex
- The zero-based annotation index of the page from which the annotation should be retrieved.
| Exception | Description |
|---|---|
| AnnotationSubtypeMissingOrInvalidException | Thrown when when an annotation dictionary has an invalid (not a name object) or missing /Subtype key. |
| System.ArgumentOutOfRangeException | Thrown when when the pageIndex or annotationIndex is outside of the acceptable range from 0 to the item count. |
This method retrieves the value of the /Subtype key of the annotation dictionary.