exportSvg Method

Summary

Helper method to export an annotation container and its objects as SVG.

Syntax

JavaScript Syntax
exportSvg = function(container, mapper, renderers) 
TypeScript Syntax
static exportSvg(container: AnnContainer, mapper: AnnContainerMapper, renderers: { [key: number]: IAnnObjectRenderer }): string; 

Parameters

container

Annotation to export

mapper

Mapper to use

renderers

Dictionary containing the object renderers to use.

Return Value

The SVG element as a string.

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