product caption
Note: this Quick-Start framework uses regular ASP.NET components, suitable for evaluation on machines without MCMS. This distribution, however, includes special MCMS versions of all components, which have the full functionality of the ASP.NET controls plus some MCMS-specific features. Read More.

Cleaning Word Formatting

Run example in: C# VB.NET



Use the Paste from WordPaste From Word button, Paste from Word cleaning Fonts and SizesPaste From Word No Fonts No Sizes button, or Paste Plain TextPaste Plain Text button tools to strip and paste text copied from MS Word.
If you copy from Word and click the regular Paste or Ctrl+V a dialog will prompt you for format stripping.
Use the Format StripperFormat Stripper tool icon to remove Word-formatting from existing text in the r.a.d.editor.
Format Stripper Demo
 
The MS Word formatting of the text pasted here will be removed automatically.

This is done by setting the StripFormattingOnPaste property to MSWordNoFonts.

The enumeration values are:
None
MSWord (retains fonts and sizes)
MSWordNoFonts
MSWordRemoveAll
Css
Font
Span
All
Source Code & Description