C# Class Wxv.Swg.Common.XmlToRtfConverter

Mostra file Open project: wverkley/Swg.Explorer Class Usage Examples

Public Methods

Method Description
Process ( System.Xml.Linq.XDocument xmlDoc, bool includeDeclaration ) : string

Convert the Xml to Rtf with some formats specified in the XMLViewerSettings, and then set the Rtf property to the value.

Private Methods

Method Description
ProcessElement ( System.Xml.Linq.XElement element, int level ) : string

Method Details

Process() public method

Convert the Xml to Rtf with some formats specified in the XMLViewerSettings, and then set the Rtf property to the value.
public Process ( System.Xml.Linq.XDocument xmlDoc, bool includeDeclaration ) : string
xmlDoc System.Xml.Linq.XDocument
includeDeclaration bool /// Specify whether include the declaration. ///
return string