VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebArcAnnotationViewJS 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.WebArcAnnotationViewJS();
    
    var value; // Type: boolean
    
    // Parameters
    var drawingContext; // Type: object
    var canvasToAnnotationTransform; // Type: object
    
    value = instance.drawInContentSpace(drawingContext, canvasToAnnotationTransform);
    
    
    function drawInContentSpace(
    drawingContext
    The canvas drawing context in the coordinate space of annotation.
    : object,
    canvasToAnnotationTransform
    A matrix that defines transformation from canvas space to the annotation space.
    : object
    ) : boolean;

    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