←Select platform

AttachContainers Method

Summary

Attaches this rendering engine to list of annotation containers and a drawing context (D2DSurface).

Syntax
C#
VB
public void AttachContainers(  
   AnnContainerCollection containers, 
   D2DSurface context 
) 
Public Sub AttachContainers( _ 
   ByVal containers As AnnContainerCollection, _ 
   ByVal context As D2DSurface _ 
)  

Parameters

containers
The annotation containers list that contain the objects to draw.

context
The destination D2D context to render the annotations to.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly