Accusoft.PdfXpressSdk Namespace > Document Class : GetAnnotationSubtype Method |
'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 )
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.