←Select platform

Attach(AnnContainer,Object) Method

Summary

Attaches this rendering engine to an annotation container and a context (Canvas).

Syntax

C#
VB
WinRT C#
public override void Attach(  
   Leadtools.Annotations.Core.AnnContainer container, 
   object context 
) 
Public Overloads Overrides Sub Attach( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer, _ 
   ByVal context As Object _ 
) 
public override void Attach(  
   Leadtools.Annotations.Core.AnnContainer container, 
   object context 
) 
function Leadtools.Annotations.Rendering.AnnWinRTRenderingEngine.Attach(AnnContainer,Object)(  
   container , 
   context  
) 

Parameters

container
The annotation container that contains the objects to draw.

context
The destination context (canvas) to render the annotations to.

Remarks

After this method is called, the AnnRenderingEngine.render method will draw all the objects in container into the destination canvas context ( context) using the AnnContainerMapper set in AnnContainer.Mappper.

When rendering is done, call detach to remove the coupling between the engine, container and 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