function Leadtools.Annotations.Rendering.AnnSvgObjectRenderer()
The AnnSvgObjectRenderer is the default renderer use with AnnSvgRenderingEngine. This is an abstract class that implements most common operations, while actual rendering of the object is implemented in the derived class for the objects.
AnnSvgObjectRenderer contains the following members:
Member | Description |
---|---|
Render |
Called by the framework to render an annotation object. |
CreateElement |
Creates the SVG element for this object renderer. |
CreateObject |
Creates the SVG element for an annotation object. |
RemoveElementById |
Helper method to remove an element by an ID. |
When implementing user-defined annotations, one of the objects required is a renderer for the new object type. You can derive your renderer from this class and use its helper methods. For more information, refer to Implementing User-Defined Objects With LEADTOOLS Annotations.