Save, Load, and Print RichTextBox Content
Collapse the table of content
Expand the table of content

How to: Save, Load, and Print RichTextBox Content

 

The following example shows how to save content of a RichTextBox to a file, load that content back into the RichTextBox, and print the contents.

Example

Below is the markup for the example.

Example

Below is the code behind for the example.

Show:
© 2016 Microsoft