Attaches this rendering engine to an annotation container and a drawing context (Graphics).
public virtual void Attach(
AnnContainer container,
Graphics context
)
Public Overloads Overridable Sub Attach( _
ByVal container As Leadtools.Annotations.Core.AnnContainer, _
ByVal context As Graphics _
)
public:
virtual void Attach(
AnnContainer^ container,
Graphics^ context
)
container
The annotation container that contains the objects to draw.
context
The destination graphics context to render the annotations to.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET