MultiReferenceAnnotation.AreElementsValidForMultiReferenceAnnotation
Method
Description:
The method validates if the input elements match the element category id for the MultiReferenceAnnotationType.
The method validates if the input elements match the element category id for the MultiReferenceAnnotationType.
Syntax
public static bool AreElementsValidForMultiReferenceAnnotation(
Document document,
MultiReferenceAnnotationOptions options
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document for the multi-reference annotation. |
| options | MultiReferenceAnnotationOptions | The creation options for the new MultiReferenceAnnotation. |
Return Value
| Type | Description |
|---|---|
| Boolean | Returns true if the input elements match the element category id for the MultiReferenceAnnotationType, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |