Accusoft.PdfXpress7.Net
GetAnnotationSubtype Method




The zero-based page number of the Document from which the annotation should be retrieved.
The zero-based annotation index of the page from which the annotation should be retrieved.
Gets the subtype of the annotation at the specified annotation index from the specified page.
Syntax
'Declaration
 
Public Function GetAnnotationSubtype( _
   ByVal pageIndex As Integer, _
   ByVal annotationIndex As Integer _
) As String
'Usage
 
Dim instance As Document
Dim pageIndex As Integer
Dim annotationIndex As Integer
Dim value As String
 
value = instance.GetAnnotationSubtype(pageIndex, annotationIndex)
public string GetAnnotationSubtype( 
   int pageIndex,
   int annotationIndex
)
public: string* GetAnnotationSubtype( 
   int pageIndex,
   int annotationIndex
) 
public:
String^ GetAnnotationSubtype( 
   int pageIndex,
   int annotationIndex
) 

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.
Exceptions
ExceptionDescription
AnnotationSubtypeMissingOrInvalidExceptionThrown when when an annotation dictionary has an invalid (not a name object) or missing /Subtype key.
System.ArgumentOutOfRangeExceptionThrown when when the pageIndex or annotationIndex is outside of the acceptable range from 0 to the item count.
Remarks

This method retrieves the value of the /Subtype key of the annotation dictionary.

See Also

Reference

Document Class
Document Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback