[]
        
(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)
Public Function SaveXml(fileName As String) As Boolean
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)
Public Function SaveXml(stream As Stream) As Boolean
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()
Public Function SaveXml() As String
Returns
Type Description
string

XML content of the document as a string