Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

Attach(AnnContainer,Graphics) Method







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
)
'Declaration
 
Public Overloads Overridable Sub Attach( _
   ByVal container As AnnContainer, _
   ByVal context As Graphics _
) 
'Usage
 
Dim instance As AnnWinFormsRenderingEngine
Dim container As AnnContainer
Dim context As Graphics
 
instance.Attach(container, context)
public virtual void Attach( 
   AnnContainer container,
   Graphics context
)
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.Attach(AnnContainer,Graphics)( 
   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 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

See Also

Reference

AnnWinFormsRenderingEngine Class
AnnWinFormsRenderingEngine Members
Overload List

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features