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

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