![]() |
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 > AnnD2DRenderingEngine Class : AttachContainers Method |
public void AttachContainers( AnnContainerCollection containers, D2DSurface context )
'Declaration
Public Sub AttachContainers( _ ByVal containers As AnnContainerCollection, _ ByVal context As D2DSurface _ )
'Usage
Dim instance As AnnD2DRenderingEngine Dim containers As AnnContainerCollection Dim context As D2DSurface instance.AttachContainers(containers, context)
public void AttachContainers( AnnContainerCollection containers, D2DSurface context )
function Leadtools.Annotations.Rendering.AnnD2DRenderingEngine.AttachContainers( containers , context )
After this method is called, the Render method will draw all the objects in all attached containers containers into the destination D2D context (context)
When rendering is done, you can call DetachContainers to remove the coupling between the engine and containers/context.