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 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.