Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Rendering Namespace > AnnAndroidRenderingEngine Class > Attach Method : Attach(AnnContainer,Canvas) Method |
public virtual void Attach( AnnContainer container, Canvas context )
'Declaration
Public Overloads Overridable Sub Attach( _ ByVal container As AnnContainer, _ ByVal context As Canvas _ )
'Usage
Dim instance As AnnAndroidRenderingEngine Dim container As AnnContainer Dim context As Canvas instance.Attach(container, context)
public virtual void Attach( AnnContainer container, Canvas context )
public void attach(AnnContainer container, Canvas context)
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.