←Select platform

AttachContainer Method

Summary

Attaches this rendering engine to an annotation container and a context (Canvas).

Syntax

C#
VB
WinRT C#
public override void AttachContainer(  
   Leadtools.Annotations.Core.AnnContainer container 
) 
Public Overrides Sub AttachContainer( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer _ 
)  
public override void AttachContainer(  
   Leadtools.Annotations.Core.AnnContainer container 
) 
 function Leadtools.Annotations.Rendering.AnnWinRTRenderingEngine.AttachContainer(  
   container  
) 

Parameters

container
The annotation container that contains the objects to draw.

Remarks

After this method is called, the AnnRenderingEngine.render method will draw all the objects in container into the destination canvas 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly