[]
type SaveSvgOptions = object;
Provides settings for saving SvgDocument to a byte array.
optional byteOrderMark?: boolean;
Indicates whether to write the sequence of bytes that specifies the encoding used.
optional encoding?: XmlEncoding;
The type of text encoding to use. The default is "UTF8".
optional escapeNonAscii?: boolean;
Indicates whether to escape all non-ASCII characters.
optional indent?: boolean;
Indicates whether to indent elements. The default is true.
optional newLineOnAttributes?: boolean;
Indicates whether to write attributes on a new line.
optional omitXmlDeclaration?: boolean;
Indicates whether to omit an XML declaration.
optional skipComments?: boolean;
Indicates whether to skip comments in SVG.
optional useWindowsNewLine?: boolean;
Indicates whether to use CR LF sequence for new lines.