EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
ASP and dotNET
Further Information



CleanRTF Property

RTF-2-HTML v8 User Guide


CleanRTF Property

This is the property that you set to specify whether or not the RTF-2-HTML control should clean up the RTF that has been fed into it. If you specify "yes" (the default) this should result in the resultant HTML looking closer to the original RTF when viewed within a browser.

We would recommend only setting the property to "no" if you have created your own unique RTF codes and commands.



Specifies whether or not to clean the RTF that you have fed into the control.


object.CleanRTF [= x ]

The syntax of the CleanRTF property has these parts:

Part Description
object An RTF-2-HTML v8 control.
x A string expression that specifies whether or not to clean the rtf that is fed into the control, you can either specify a "yes" or a "no" value.

Default "yes"
Remarks This property only accepts a yes or a no. If yes then the RTF that you have fed into the control will be cleaned prior to going through to the conversion phase. 

Setting this property to yes can greatly improve the quality of the conversion to HTML.

Data Type


Example Sample Visual Basic Code:

Where RTF2HTML1 is an instance of an RTF-2-HTML Control.

RTF2HTML1.CleanRTF = "yes"





Back to Contents Page


Click here to set this great site as your home page

Or click here to add it to your Favorites.


Copyright (c) EasyByte Software 2007, info@easybyte.com