exportSvg Method

Summary

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

Syntax
TypeScript
JavaScript
exportSvg = function( 
   container, 
   mapper, 
   renderers 
) 
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 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