EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
Sections
Index
About
Installation
Properties
Methods
ASP and dotNET
Further Information
  

 

 

ConvertHTML2RTF Method
 
     

RTF-2-HTML v8 User Guide

 

ConvertHTML2RTF Method

This is the method that you would use to convert a complete HTML document to RTF.

 

Description

Converts an HTML document to RTF.

     
Syntax

x = object.ConvertHTML2RTF

The syntax of the ConvertHTML2RTF method has these parts:

 
Part Description
object An RTF-2-HTML v8 control.
x A string that becomes the result of the conversion. 

       
Remarks You must specify the ImageFolder property of RTF-2-HTML to the folder where any image files or CSS files are stored that are referred to in the inputted HTML.
       
Returns

String

     
Example Sample Visual Basic Code to convert an HTML document to RTF.

In this sample all of the properties of the control are used.

Where rtf2html1 is an instance of an RTF-2-HTML control and rtf1 is an instance of an MS RichText control.

Where Text1 is a text box that just contains HTML.



rtf2html1.HTML_Text = Text1.Text

rtf2.TextRTF = rtf2html1.ConvertHTML2RTF

 

 

 

 

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