VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationViewFabricJS type / createAnnotationById Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
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
ExceptionDescription
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
56+
45+
11
See Also