←Select platform

AttachContainers Method

Summary
Attaches this rendering engine to list of annotation containers and a drawing context (D2DSurface).
Syntax
C#
public void AttachContainers(  
   AnnContainerCollection containers, 
   D2DSurface context 
) 

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 22.0.2022.12.13
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.