Base class for all SVG object renderers.
function lt.Annotations.Rendering.AnnSvgObjectRenderer
extends lt.Annotations.Rendering.AnnObjectRenderer
implements IAnnObjectRenderer
class lt.Annotations.Rendering.AnnSvgObjectRenderer()
extends lt.Annotations.Rendering.AnnObjectRenderer
implements IAnnObjectRenderer
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.
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