L_SvgSaveOptions

Summary

The L_SvgSaveOptions structure represents the options to save an SVG document as an SVG file.

Syntax

struct L_SvgSaveOptions 
{ 
   L_UINT StructSize; 
   L_BOOL Formatted; 
   L_TCHAR Indent[10]; 
   L_SvgEncoding Encoding; 
   L_SvgFormat Format; 
}; 
typedef struct L_SvgSaveOptions L_SvgSaveOptions; 

Members

StructSize

Size of this structure. Use sizeof (L_SvgSaveOptions).

Formatted

Indicates whether the final SVG document is formatted for human reading. When TRUE each element of the SVG will be in its own line.

The value of Indent will be used to indent the elements in the hierarchy.

Indent

The string to use for indentation when saving the SVG document. Default value is two spaces " ".

The value of Formatted must be TRUE to use this member.

To use a standard Tab character, set the value of Indent to "\t".

Encoding

The text encoding to use when saving the SVG document.

Default value is L_SvgEncoding_UTF8.

Format

The format to use when saving the SVG document. Possible values are:

Value Meaning
(0) L_SvgFormat_Svg Non-compressed SVG.
(1) L_SvgFormat_Svgz Compressed SVG.

Comments

SVG write options.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS SVG C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.