←Select platform

Attach(AnnContainer,Canvas) Method

Summary
Attaches this rendering engine to an annotation container and a context (Canvas).
Syntax
Java
public void attach(AnnContainer container, Canvas context) 

Parameters

container
The annotation container that contains the objects to draw.

context
The destination context (canvas) to render the annotations to.

Remarks

After this method is called, the AnnRenderingEngine.render method will draw all the objects in _container_ into the destination canvas context (_context_) using the AnnContainerMapper set in AnnContainer.Mappper.

When rendering is done, call detach to remove the coupling between the engine, container and context.

Requirements

Target Platforms

Help Version 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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