AnnSvgObjectRenderer Object

Summary

Base class for all SVG object renderers.

Syntax
TypeScript
JavaScript
function lt.Annotations.Rendering.AnnSvgObjectRenderer 
	extends lt.Annotations.Rendering.AnnObjectRenderer 
	implements IAnnObjectRenderer 
class lt.Annotations.Rendering.AnnSvgObjectRenderer() 
	extends AnnObjectRenderer 
	implements IAnnObjectRenderer 

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly