Rich Text Editor / Loading and Saving Documents / Rich Text Format (RTF)
In This Topic
    Rich Text Format (RTF)
    In This Topic

    NOV rich text view lets you easily load and save documents to the Rich Text Format (RTF).

     Loading from Rich Text Format

    To load a Rich Text Format document from a file or from a stream you can use the Load methods of the rich text view as shown in the Loading Documents topic. For example:

    Loading a Word Document to a local file
    Copy Code
    richTextView.LoadFromLocalFile(@"C:\MyDocument.rtf");
    
     Saving to Rich Text Format

    To save a document to a Rich Text Format file or stream you can use the Save method of the rich text view as shown in the Saving Documents topic. For example:

    Saving a Word Document to a local file
    Copy Code
    richTextView.SaveToLocalFile(@"C:\MyDocument.rtf");
    
    See Also