1. GroupDocs.Editor
  2. /
  3. GroupDocs.Editor for .NET
  4. /
  5. GroupDocs.Editor.Options
  6. /
  7. XmlFormatOptions
  8. /
  9. LeafTextNodesOnNewline

LeafTextNodesOnNewline

XmlFormatOptions.LeafTextNodesOnNewline property

When enabled, leaf text nodes (textual content inside XML elements, that has no children) will be rendered on a new line with bigger left indent. By default is false (disabled) — leaf text nodes are placed on the same line as their parents, without new indent.

public bool LeafTextNodesOnNewline { get; set; }

See Also