Returns the number of annotation marks on an image page or in an annotation group.
Image Edit control
object.GetAnnotationMarkCount([GroupName,AnnotationType])
Parameter | Data Type | Setting |
GroupName | String | The name of the annotation group |
AnnotationType | Integer | The desired AnnotationType setting |
AnnotationType Argument
Setting | Description |
0 | None |
1 | Straight Line |
2 | Freehand Line |
3 | Hollow Rectangle |
4 | Filled Rectangle |
5 | Image Embedded |
6 | Image Reference |
7 | Text |
8 | Text Stamp |
9 | Text From File |
10 | Attach-a-Note |
11 | Select Annotations |
Integer
The Display method must be invoked prior to calling this method.
If the GroupName and Annotation Type parameters are both entered, the GetAnnotationMarkCount method returns the number of annotation marks of the type specified that are in the annotation group specified.
If the GroupName parameter is entered, but the Annotation Type is not entered, the GetAnnotationMarkCount method returns the total number of annotation marks that are in the annotation group specified.
If the GroupName parameter is not entered, but the Annotation Type is entered, the GetAnnotationMarkCount method returns the number of annotation marks of the type specified that are in all of the annotation groups.
If no parameters are entered, the GetAnnotationMarkCount method returns the total number of annotation marks that are on the page.
The GetAnnotationMarkCount method is valid only at run-time.
Annotation topics in Imaging Concepts
AnnotationGroupCount property
AnnotationType property
Display method