How to convert PDF document to RTF or Text document in C# and VB.Net

.Net component to convert PDF document to RTF or Text document and images (jpg, png, bmp, tiff) in C # and VB.Net
By: SautinSoft
 
Aug. 9, 2012 - PRLog -- Up to date, every tenth document published in Internet is presented in PDF format. PDF format is widely used for preparing different electronic documents which can contain fonts, graphics and multimedia elements.
Who uses PDF documents and needs their editing?
Students who need information for writing coursework or diploma work. As a matter of fact, most of electronic educational Internet resources, containing necessary information for learning activities, are presented by PDF files.
   Lawyers who compile different agreements and contracts in PDF format; it happens that the text of a document doesn’t exist in another format but it is necessary to urgently make some changes or alterations in it.
   Magazine editors, who receive articles in PDF-format and have correspondence with their clients, very often need to edit the articles.
   SautinSoft Company presents a new PDF Focus .Net component which can help any developer to create applications (WinForms, Web-Apps, Silverlight) with the function of quick and above all exact conversion of practically any PDF document into editable formats RTF or Text, while preserving its design and contents.
   The component has the following performance capabilities:
•   Converting PDF into Word;

•   Converting PDF into Text;

•   Rasterizing PDF into images;

•   Exportation of  PDF into Multipage-TIFF;

Besides, during the converting PDF document, there is a possibility to adjust the following: image quality (dpi); choosing the format suitable for you – JPG, PNG, BMP, TIFF (Image format), and also color depth (RGB, GRAYSCALE).

Let’s look how to use the “SautinSoft.PdfFocus.dll” in Visual Studio .Net:
1.   Launch Microsoft's Visual Studio .NET
2.   Create a new project or open existing.
3.   In Solution Explorer right click "References" and then click "Add Reference".
4.   Add a reference to the SautinSoft.PdfFocus.dll.
5.   Well done! Now your project able to convert PDF documents to Word, Images and other formats!
6.   These are code samples in C#:
Convert PDF to Word in C#:
           //Convert PDF file to Word file
           SautinSoft.PdfFocus f = new SautinSoft.PdfFocus();

           f.OpenPdf(@"c:\Robinson Crusoe.pdf");

           if (f.PageCount > 0)
           {
               f.ToWord(@"c:\Robinson Crusoe.rtf");
           }

Convert PDF file to Images in C#:
           //Convert PDF file to Image files
           SautinSoft.PdfFocus f = new SautinSoft.PdfFocus();

           f.OpenPdf(@"c:\Robinson Crusoe.pdf");

           //Set image properties
           f.ImageOptions.Dpi = 120;
           f.ImageOptions.ImageFormat = Drawing.Imaging.ImageFormat.Png;
           
           for (int page=1; page< =f.PageCount; page++)
           {
               f.ToImage(@"c:\Page" + page + ".png", page);
           }

If you are looking for simple and convenient solution for converting PDF documents to RTF, then the component is created just for you!

For more information follow to the product page:
http://www.sautinsoft.com/products/pdf-focus/index.php
If you have any questions or concerns about component, let us know:
support@sautinsoft.com
End
Source:SautinSoft
Email:***@sautinsoft.com Email Verified
Zip:427430
Tags:PDF, Vb Net, Csharp, Net Component, Convert
Industry:vb.net
Location:Votkinsk - Udmurt Republic - Russian Federation
Subject:Products
Account Email Address Verified     Account Phone Number Verified     Disclaimer     Report Abuse
Sautin Software PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share