Called by the state annotation rendering engine to add the element for this object.
-(void) addObject:(LTAnnObject*)annObject;
void addObject(AnnObject annObject);
annObject
The annotation object being added.
This method should be implemented by state renderers to add the equivalent element for the annotation object.
The rendering engine will call AddObject when the annotation object is first rendered on a container. The object renderer should create the equivalent state element (such as an SVG or XAML element) for the object at this point. It is best to use AnnObject.StateId to store the state (or element) ID at this point inside the object.
The engine will then call Render every time the object is changed. The object renderer can obtain the equivalent element using AnnObject.StateId and update it at this point.
When an annotation object is removed from the container, the rendering engine will call RemoveObject. The object renderer must then remove the object state (element). using AnnObject.StateId.
Implement this method only when you have a state rendering engine, such as an SVG or XAML renderer. In stateless rendering engines, such as GDI+, you should implement this method but leave it empty.
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