AnnSvgObjectRenderer Object

Summary

Base class for all SVG object renderers.

Syntax

JavaScript Syntax
function lt.Annotations.Rendering.AnnSvgObjectRenderer 
	extends lt.Annotations.Rendering.AnnObjectRenderer 
	implements IAnnObjectRenderer 
TypeScript Syntax
class lt.Annotations.Rendering.AnnSvgObjectRenderer() 
	extends lt.Annotations.Rendering.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly