←Select platform

Attach(AnnContainer,Graphics) Method

Summary
Attaches this rendering engine to an annotation container and a drawing context (Graphics).
Syntax
C#
C++/CLI
public virtual void Attach( 
   AnnContainer container, 
   Graphics context 
) 
public:  
   virtual void Attach( 
      AnnContainer^ container, 
      Graphics^ 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 Render method will draw all the objects in  container into the destination graphics context ( context) using the 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

Help Version 22.0.2022.12.13
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.