struct L_SvgSaveOptions
{
L_UINT StructSize;
L_BOOL Formatted;
L_TCHAR Indent[10];
L_SvgEncoding Encoding;
};
typedef struct L_SvgSaveOptions L_SvgSaveOptions;
The L_SvgSaveOptions structure is used by the L_SvgSaveDocument function, which saves an SVG document as an SVG file.
Member |
Description |
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. |
SVG write options
Used with L_SvgSaveDocument and L_SvgSaveDocumentMemory to set the text options of the final SVG document.