EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
ASP and dotNET
Further Information



Plain_Text Property

RTF-2-HTML v8 User Guide


Plain_Text Property

This is the property that you can read to get the plain text that has resulted from the ConvertPlainHTML method.

The property expects and delivers a variant data type, which can also be a string.



Specifies and returns plain text (unformatted text, like you get in NotePad)


object.Plain_Text [= x ]

The syntax of the Plain_Text property has these parts:

Part Description
object An RTF-2-HTML v8 control.
x A variant expression that specifies and returns the plain text

Default ""  (Empty String)

This property is currently only used in conjunction with the ConvertPlainHTML method. That method converts Plain text to HTML. You can use the Plain_Text property of the control to feed in the RTF to convert to plain text.

Data Type

Variant (Can be String)

Example Sample Visual Basic Code to convert RTF to Plain text:

Where rtf2html1 is an instance of an RTF-2-HTML Control.
Where rtf1 is an instance of an MS Rich Text Control.

rtf2html1.HTML_Colour = rtf1.BackColor
rtf2html1.HTML_Title = "hello, sample title"
rtf2html1.Plain_Text = rtf1.Text
rtf2html1.Generator = "My Own RTF-2-HTML Convertor"
rtf2html1.CleanRTF = "yes"
rtf2html1.Links = "yes"
rtf2html1.DoDebug = "yes"

rtf2html1.ConvertImages = "no"
rtf2html1.ImageFolder = "c:\"
rtf2html1.ImageFormat = "jpg"

rtf1.Text = rtf2html1.ConvertPlainHTML




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