(Leadtools.Annotations.Rendering)

Attach Method

Show in webframe




The annotation container that contains the objects to draw.
The destination context (canvas) to render the annotations to.
Attaches this rendering engine to an annotation container and a context (Canvas).
Syntax
public virtual void Attach( 
   AnnContainer container,
   Canvas context
)
public virtual void Attach( 
   AnnContainer container,
   Canvas context
)

            
public void attach(AnnContainer container, Canvas context)
 function Leadtools.Annotations.Rendering.AnnAndroidRenderingEngine_java.Attach( 
   container ,
   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 Leadtools.Annotations.Core.AnnContainerMapper set in AnnContainer.Mappper.

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

Requirements

Target Platforms

See Also

Reference

AnnAndroidRenderingEngine Class
AnnAndroidRenderingEngine Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.