createAnnotationById Method
In This Topic
Creates annotation view by ID of the annotation view type.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationViewFabricJS();
var value; // Type: Vintasoft.Imaging.Annotation.UI.WebAnnotationViewJS
// Parameters
var id; // Type: string
value = instance.createAnnotationById(id);
Parameters
- id
- The ID of the annotation view type.
Return Value
An instance of
WebAnnotationViewJS class.
Exceptions
| Exception | Description |
| Thrown if WebAnnotationViewJS element with specified ID is not found. |
| Thrown if factory created an instance, which is not derived from WebAnnotationViewJS class. |
Browser Compatibility
See Also