- (void)addObject:(LTAnnObject *)annObject
public void addObject(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 to 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 recommended to use AnnObject.StateId to store the state (or element) ID at this point inside the object.
Implement this method only when you have a state rendering engine, such as SVG or XAML renderers. In stateless rendering engines, such as GDI+, you should implement this method but leave it empty.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries