Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

Attach(AnnContainer,CanvasContext2D) Method

Show in webframe
The annotation container that contains the objects to draw.
The destination canvas context 2d to render the annotations to.
Attaches this renderng engine to a container and a canvas context 2d.
Syntax
 function Leadtools.Annotations.Rendering.AnnHtml5RenderingEngine.attach(AnnContainer,CanvasContext2D)( 
   container ,
   context 
)

Parameters

ParameterTypeDescription
containerAnnContainerThe annotation container that contains the objects to draw.
contextCanvasContext2DThe destination canvas context 2d to render the annotations to.
Remarks

After this method is called, the Render method will draw all the objects in container into the destination graphics context (context) using the AnnContainerMapper set in AnnContainer.Mappper.

When rendering is done, you can call Detach to remove the coupling between the engine and container/context.

See Also

Reference

AnnHtml5RenderingEngine Object
AnnHtml5RenderingEngine Members
Overload List

Error processing SSI file