The L_SvgSaveOptions structure represents the options to save an SVG document as an SVG file.
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;
Size of this structure. Use sizeof (L_SvgSaveOptions).
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.
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".
The text encoding to use when saving the SVG document.
Default value is L_SvgEncoding_UTF8.
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. |
SVG write options.