You have a question, need a support or a code example: ask our support team at email@example.com. We will help you quickly and with pleasure.
Input Text documents
The component can also convert Text documents to PDF. There is nothing special here, only a thing: unicode characters are supported too.
Output PDF documents
PDF Metamorphosis .Net can render PDF documents using own PDF class. You may select the version for output PDF: 1.2 -1.6, PDF/A. If you are looking for .Net class (C#) to convert PDF to other formats, see our PDF Focus .Net.
What PDF Metamorphosis .Net can give me:
Save a time and cost of developing of my application. You will need to only add the reference to "PdfMetamorphosis.dll" and write 3-4 C# lines to get ability create PDF from HTML, RTF, Text or PDF from DOCX.
The one product provides me by set of API to convert from Text, RTF, HTML to PDF at once, split and merge PDF documents.
Because of this is absolutely standalone PDF library, I don't need to worry about the availability of Adobe Acrobat, MS Word, OpenOffice or other software on the my client's computers.
My software will have the one of the fastest API to convert into PDF documents and therefore my clients will not have any delays during creating PDF documents.
I don't need to worry about accuracy of source HTML and RTF documents. PDF Metamorphosis .Net can "eat" any types, versions and produce for me a valid PDF document.
The one time price. I pay a one time and can use «PDF Metamorphosis .Net» for a whole life without any additional fees. My license will never expires.
As bonus, I get unlimited technical support during a whole life for free and independently of the date of my purchasing.
Some examples to convert Text to PDF in C# and VB.Net
1. Convert Text file to PDF file in C#:
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
// Let's set: A4, Landscape orientation, left and right margins: 1.5 Inch, top and bottom: 1 Inch
p.PageSettings.Orientation = SautinSoft.PdfMetamorphosis.PageSetting.Orientations.Landscape;
string textPath = @"d:\Oblomov.txt";
string pdfPath = @"d:\Oblomov.pdf";
int result = p.TextToPdfConvertFile(textPath, pdfPath);
2. Convert Text file to PDF file in VB.Net:
Dim p As New SautinSoft.PdfMetamorphosis()
' Let's set: A4, Landscape orientation, left and right margins: 1.5 Inch, top and bottom: 1 Inch
p.PageSettings.Orientation = SautinSoft.PdfMetamorphosis.PageSetting.Orientations.Landscape
Dim textPath As String = "c:\A Hero of Our Time.txt"
Dim pdfPath As String = Path.ChangeExtension(textPath, ".pdf")
If p.TextToPdfConvertFile(textPath, pdfPath) = 0 Then
If anyone needs a code sample in C#, VB.Net, ASP.Net etc "How to convert Text to PDF", email us at firstname.lastname@example.org or ask at Online Chat (right-bottom corner of this page). We'll help you certainly!
Requrements and Technical Information
Requires only .Net 2.0 or above. Our product is compatible with all .Net languages and supports all Operating Systems where .Net Framework can be used. Note that PDF Metamorphosis .Net is entirely written in managed C#, which makes it absolutely standalone and an independent library.
The library offers developers high quality conversion at reasonably prices. The main point of interest is that PDF Metamorphosis .Net is less expensive than all of its more or less popular counterparts. For example, a single license cost $439 with no additional fees or royalties!