Classes

  ClassDescription
DocumentTransform
Base class for document transformation.

Examples

This sample shows how to set license file to Nasosoft Transform
 Copy Code
            [C#]
                 DocumentTransform.SetLicense("Nasosoft.lic");
            [VB.NET]
                 DocumentTransform.SetLicense("Nasosoft.lic");
             
HtmlToRtfTransform
Transforms HTML files to RTF format.

Examples

This sample shows how to use HtmlToRtfTransform class
 Copy Code
            [C#]
                 //create a HtmlToRtfTransform
                 using (HtmlToRtfTransform c = new HtmlToRtfTransform())
                 {
                     c.Load("SimpleTest.htm"); //load the html file
                     c.Transform("SimpleTest.rtf"));//transform to rtf file
                 }
            [VB.NET]
                 'create a HtmlToRtfTransform
                 Dim c As HtmlToRtfTransform  = New HtmlToRtfTransform();
                     c.Load("SimpleTest.htm") 'load the html file
                     c.Transform("SimpleTest.rtf")) 'transform to rtf file
                 c.Dispose()
             
HtmlToTextTransform
Transforms Html files to Text.

Examples

This sample shows how to use HtmlToTextTransform class
 Copy Code
            [C#]
                 //create a HtmlToTextTransform
                 using (HtmlToTextTransform c = new HtmlToTextTransform())
                 {
                     c.Load("SimpleTest.htm"); //load the html file
                     c.Transform("SimpleTest.txt"));//transform to txt file
                 }
            [VB.NET]
                 'create a HtmlToTextTransform
                 Dim c As HtmlToTextTransform  = New HtmlToTextTransform();
                     c.Load("SimpleTest.htm") 'load the html file
                     c.Transform("SimpleTest.txt")) 'transform to txt file
                 c.Dispose()
             
PdfToTextTransform
Transforms PDF files to text.

Examples

This sample shows how to use RtfToHtmlTransform class
 Copy Code
            [C#]
                 //create a RtfToHtmlTransform
                 using (PdfToTextTransform c = new PdfToTextTransform())
                 {
                     c.Load("SimpleTest.pdf"); //load the pdf file
                     c.Transform("SimpleTest.txt"));//transform to txt file
                 }
            [VB.NET]
                 'create a PdfToTextTransform
                 Dim c As PdfToTextTransform  = New PdfToTextTransform();
                     c.Load("SimpleTest.pdf") 'load the rtf file
                     c.Transform("SimpleTest.txt")) 'transform to txt file
                 c.Dispose()
             
RtfToHtmlTransform
Transforms RTF files to HTML.

Examples

This sample shows how to use RtfToHtmlTransform class
 Copy Code
            [C#]
                 //create a RtfToHtmlTransform
                 using (RtfToHtmlTransform c = new RtfToHtmlTransform())
                 {
                     c.Load("SimpleTest.rtf"); //load the rtf file
                     c.Transform("SimpleTest.htm"));//transform to html file
                 }
            [VB.NET]
                 'create a RtfToHtmlTransform
                 Dim c As RtfToHtmlTransform  = New RtfToHtmlTransform();
                     c.Load("SimpleTest.rtf") 'load the rtf file
                     c.Transform("SimpleTest.htm")) 'transform to html file
                 c.Dispose()
             
RtfToTextTransform
Transforms RTF files to Text.

Examples

This sample shows how to use RtfToTextTransform class
 Copy Code
            [C#]
                 //create a RtfToTextTransform
                 using (RtfToTextTransform c = new RtfToTextTransform())
                 {
                     c.Load("SimpleTest.rtf"); //load the rtf file
                     c.Transform("SimpleTest.txt"));//transform to txt file
                 }
            [VB.NET]
                 'create a RtfToTextTransform
                 Dim c As RtfToTextTransform  = New RtfToTextTransform();
                     c.Load("SimpleTest.rtf") 'load the rtf file
                     c.Transform("SimpleTest.txt")) 'transform to txt file
                 c.Dispose()
             
TransformException
The exception that is thrown by the document trasnformation.

Interfaces

  InterfaceDescription
IDocumentTransform
Document Transform interface.