Classes
| Class | Description | |||||
|---|---|---|---|---|---|---|
![]() | DocumentTransform |
Base class for document transformation.
| ||||
Copy Code | |
|---|---|
[C#]
DocumentTransform.SetLicense("Nasosoft.lic");
[VB.NET]
DocumentTransform.SetLicense("Nasosoft.lic");
| |

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()
| |

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()
| |

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()
| |

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()
| |

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()
| |

The exception that is thrown by the document trasnformation.
Interfaces
| Interface | Description | |
|---|---|---|
![]() | IDocumentTransform |
Document Transform interface.
|

