[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1Editor.LoadXml

LoadXml Method

LoadXml(string, Uri)

Loads the document from an XML string.

Declaration
public bool LoadXml(string xml, Uri baseUri)
Parameters
Type Name Description
string xml

XML string to load.

Uri baseUri

Path to resolve pictures, video, links, and other resources.

Returns
Type Description
bool

True, if XML successfully loaded; otherwise, False.

LoadXml(Stream, Uri)

Loads the document from the specified stream in XML format.

The Stream containing the XML document to load. Path to resolve pictures, video, links, and so on.
Declaration
public bool LoadXml(Stream stream, Uri baseUri)
Parameters
Type Name Description
Stream stream
Uri baseUri
Returns
Type Description
bool

True, if XML successfully loaded; otherwise, False.

LoadXml(string)

Loads the document from the specified file in XML format.

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

The name of the file containing the document to load.

Returns
Type Description
bool

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