Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

AttachContainers Method







The annotation containers list that contain the objects to draw.
The destination D2D context to render the annotations to.
Attaches this rendering engine to list of annotation containers and a drawing context (D2DSurface).
Syntax
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 
)

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

See Also

Reference

AnnD2DRenderingEngine Class
AnnD2DRenderingEngine Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features