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 > AnnWinRTRenderingEngine Class > Attach Method : Attach(AnnContainer,Object) Method |
public override void Attach( AnnContainer container, object context )
'Declaration
Public Overloads Overrides Sub Attach( _ ByVal container As AnnContainer, _ ByVal context As Object _ )
'Usage
Dim instance As AnnWinRTRenderingEngine Dim container As AnnContainer Dim context As Object instance.Attach(container, context)
public override void Attach( AnnContainer container, object 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.