[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1Editor.SaveXml

SaveXml Method

SaveXml(string)

Saves the document to the specified file in XML format.

Declaration
public bool SaveXml(string fileName)
Parameters
Type Name Description
string fileName

The name of the file where you want to save the document.

Returns
Type Description
bool

True, if the file is successfully saved; otherwise, False.

SaveXml(Stream)

Saves the document to the specified stream in XML format.

Declaration
public bool SaveXml(Stream stream)
Parameters
Type Name Description
Stream stream

The stream to which you want to save.

Returns
Type Description
bool

True, if the document is successfully saved; otherwise, False.

SaveXml()

Returns the XML content of the document as a string.

Declaration
public string SaveXml()
Returns
Type Description
string

XML content of the document as a string