(Leadtools.Annotations.Rendering)

Attach Method (AnnWinRTRenderingEngine)

Show in webframe




The annotation container that contains the objects to draw.
The destination context (canvas) to render the annotations to.
Attaches this rendering engine to an annotation container and a context (Canvas).
Syntax
public virtual void Attach( 
   AnnContainer container,
   Canvas context
)
public virtual void Attach( 
   AnnContainer container,
   Canvas context
)

            

            
 function Leadtools.Annotations.Rendering.AnnWinRTRenderingEngine.Attach( 
   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 Leadtools.Annotations.Core.AnnRenderingEngine.Render(Leadtools.LeadRectD,System.Boolean) method will draw all the objects in container into the destination graphics context (context) using the Leadtools.Annotations.Core.AnnContainerMapper set in AnnContainer.Mappper.

When rendering is done, you can call Detach to remove the coupling between the engine and container/context.

Requirements

Target Platforms

See Also

Reference

AnnWinRTRenderingEngine Class
AnnWinRTRenderingEngine Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.