registerAnnotation Method
In This Topic
Registers the annotation view type.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationViewFabricJS();
var value; // Type: any
// Parameters
var id; // Type: string
var creationFunction; // Type: function
value = instance.registerAnnotation(id, creationFunction);
function registerAnnotation(
: string,
: Function
) : any;
Parameters
- id
- The ID of the annotation view type.
- creationFunction
- Function, which allows to create required WebAnnotationViewJS object.
Exceptions
Browser Compatibility
See Also