context Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnHtml5RenderingEngine.prototype, 'context', 
	get: function(), 
	set: function(value) 
) 
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.