![]() Private Sub menuItemOpen_Click(sender As Object, e As EventArgs) ' If using Professional version, put your serial key below.ĬomponentInfo.SetLicense("FREE-LIMITED-KEY") ![]() (prepend ? content.Start : content.End).LoadFromClipboard() ĭocument.Save(stream, SaveOptions.RtfDefault) Var document = DocumentModel.Load(stream, LoadOptions.RtfDefault) Load document from RTF stream and prepend or append clipboard content to it. Writer.Write() ĭocumentModel.Load(stream, LoadOptions.RtfDefault).Content.SaveToClipboard() Save RichTextBox selection to RTF stream. (stream, RichTextBoxStreamType.RichText) ĭocumentModel.Load(stream, LoadOptions.RtfDefault).Save(dialog.FileName) ![]() Save RichTextBox content to RTF stream. "Single File Web Page (*.mht *.mhtml)|*.mht *.mhtml|" + "Word Macro-Enabled Template (*.dotm)|*.dotm|" + "Word Macro-Enabled Document (*.docm)|*.docm|" + Private void btnSave_Click(object sender, EventArgs e) (stream, RichTextBoxStreamType.RichText) If (dialog.ShowDialog() = .OK)ĭocumentModel.Load(dialog.FileName).Save(stream, SaveOptions.RtfDefault) "Word Macro-Enabled Templates (*.dotm)|*.dotm|" + "Word Macro-Enabled Documents (*.docm)|*.docm|" + Private void menuItemOpen_Click(object sender, EventArgs e) If using Professional version, put your serial key below.ĬomponentInfo.SetLicense("FREE-LIMITED-KEY")
0 Comments
Leave a Reply. |