DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias SaveSvgOptions

    Provides settings for saving SvgDocument to a byte array.

    type SaveSvgOptions = {
        byteOrderMark?: boolean;
        encoding?: XmlEncoding;
        escapeNonAscii?: boolean;
        indent?: boolean;
        newLineOnAttributes?: boolean;
        omitXmlDeclaration?: boolean;
        skipComments?: boolean;
        useWindowsNewLine?: boolean;
    }
    Index

    Properties

    byteOrderMark?: boolean

    Indicates whether to write the sequence of bytes that specifies the encoding used.

    encoding?: XmlEncoding

    The type of text encoding to use. The default is "UTF8".

    escapeNonAscii?: boolean

    Indicates whether to escape all non-ASCII characters.

    indent?: boolean

    Indicates whether to indent elements. The default is true.

    newLineOnAttributes?: boolean

    Indicates whether to write attributes on a new line.

    omitXmlDeclaration?: boolean

    Indicates whether to omit an XML declaration.

    skipComments?: boolean

    Indicates whether to skip comments in SVG.

    useWindowsNewLine?: boolean

    Indicates whether to use CR LF sequence for new lines.