Parameter | Type | Description |
---|---|---|
container | AnnContainer | The annotation container that contains the objects to draw. |
context | Leadtools.Html.CanvasContext2D | The destination canvas context 2d to render the annotations to. |
After this method is called, the Leadtools.Annotations.Core.AnnRenderingEngine.Render(Leadtools.LeadRectD,System.Boolean) method will draw all the objects in container into the destination graphics context (context) using the Leadtools.Annotations.Core.AnnContainerMapper set in AnnContainer.Mappper.
When rendering is done, you can call Detach to remove the coupling between the engine and container/context.