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 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.