←Select platform

AttachContainers Method

Summary

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

Syntax

C#
VB
WinRT C#
public void AttachContainers(  
   Leadtools.Annotations.Core.AnnContainerCollection containers, 
   D2DSurface context 
) 
Public Sub AttachContainers( _ 
   ByVal containers As Leadtools.Annotations.Core.AnnContainerCollection, _ 
   ByVal context As D2DSurface _ 
) 
public void AttachContainers(  
   Leadtools.Annotations.Core.AnnContainerCollection containers, 
   D2DSurface context 
) 
function Leadtools.Annotations.Rendering.AnnD2DRenderingEngine.AttachContainers(  
   containers , 
   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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize