[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1Editor.LoadRtf

LoadRtf Method

LoadRtf(Stream, Uri)

Loads the document from the specified stream in RTF format.

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

True, if XML successfully loaded; otherwise, False.

LoadRtf(string)

Loads the document from the specified file in RTF format.

Declaration
public bool LoadRtf(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.