(Leadtools.Annotations.Rendering)

Attach Method (AnnWinFormsRenderingEngine)

Show in webframe




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

            

            
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.Attach( 
   container ,
   context 
)

Parameters

container
The annotation container that contains the objects to draw.
context
The destination graphics context 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

AnnWinFormsRenderingEngine Class
AnnWinFormsRenderingEngine Members

 

 


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