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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.