context Property

Summary

Gets or sets the destination HTML 5 canvas context 2d object to use when rendering the annotation objects.

Syntax

JavaScript Syntax
Object.defineProperty(AnnHtml5RenderingEngine.prototype, 'context', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
context: CanvasRenderingContext2D; 

Property Value

The destination HTML 5 canvas context 2d object to use when rendering and the annotation objects. The default value is null.

Remarks

The HTML 5 image viewer automation control object creates an instance of AnnHtml5RenderingEngine and uses it to create an automated annotation user interface tied with the LEADTOOLS HTML 5 ImageViewer control.

The value of Context will be set to the context of the custom annotation canvas created by the automation control.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly