Attaches this rendering engine to a container and a canvas context 2d.
attach(
container: AnnContainer,
context: CanvasRenderingContext2D
): void;
container
The annotation container that contains the objects to draw.
context
The destination canvas context 2d 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document