product caption

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 RadEditor.
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