(Leadtools.Annotations.Rendering)

Attach Method

Show in webframe




The annotation container that contains the objects to draw.
The destination context (CGContextRef) to render the annotations to.
Attaches this rendering engine to an annotation container and a context (CGContextRef).
Syntax
public virtual void Attach( 
   AnnContainer container,
   CGContextRef context
)
public virtual void Attach( 
   AnnContainer container,
   CGContextRef context
)
-(void) attachContainer:(LTAnnContainer*) container context:(CGContextRef) context;

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

Parameters

container
The annotation container that contains the objects to draw.
context
The destination context (CGContextRef) 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 context (context) using the Leadtools.Annotations.Core.AnnContainerMapper set in AnnContainer.Mapper.

When rendering is done, call detach to remove the coupling between the engine, container and context.

Requirements

Target Platforms

See Also

Reference

AnnUniversalRenderingEngine Class
AnnUniversalRenderingEngine Members

 

 


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