VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebEllipseAnnotationViewJS type / drawInContentSpace Property
Syntax BrowserCompatibility SeeAlso
In This Topic
drawInContentSpace Method
In This Topic
Draws an annotation on the canvas drawing context in the coordinate space of annotation.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebEllipseAnnotationViewJS();

var value; // Type: boolean

// Parameters
var drawingContext; // Type: object
var canvasToAnnotationTransform; // Type: object

value = instance.drawInContentSpace(drawingContext, canvasToAnnotationTransform);

Parameters

drawingContext
The canvas drawing context in the coordinate space of annotation.
canvasToAnnotationTransform
A matrix that defines transformation from canvas space to the annotation space.

Return Value

True - annotation is drawn successfully; false - annotation is NOT drawn.
Browser Compatibility
56+
45+
11
See Also