Free Support Forum - aspose.com

Requirements for a PDF converter solution

We are looking for a PDF converter solutions. Here are our requirements:

1. Server-based PDF document conversion
2. Compatible with ASP.NET framework
3. Convert Word, WordPerfect, IFF, JPEG, BMP, HTML file-types,
4. Able to:
· Open and read a PDF file with a defective XREF table.
· Determine the PDF version of the PDF file.
· Merge documents into a single document.
· Determine document dimensions and resize to 8.5” X 11”.
· Determine document orientation and change to portrait orientation.
· Preserve active elements such as bookmarks and hyperlinks when resizing and reorienting documents.
· Perform OCR function on documents.
Please let us know how your product stacks up to these requirements.

This message was posted using Email2Forum by Merit.

tom2:
We are looking for a PDF converter solutions. Here are our requirements:
1. Server-based PDF document conversion
2. Compatible with ASP.NET framework
Hi Tom,

Thanks for your interest in our products.

Aspose.Pdf for .NET is a PDF document creation as well as manipulation component. It's developed on top of .NET Framework so it can be used in any application developed using .NET Framework.

3.
tom2:
Convert Word, WordPerfect, IFF, JPEG, BMP, HTML file-types,
In order to convert Word files to PDF format, you need to try using Aspose.Words for .NET. For further details, please visit How to Convert a Document to PDF
However Aspose.Pdf for .NET supports the feature to convert BMP and HTML files to PDF format. For further details, please visit


tom2:
· Open and read a PDF file with a defective XREF table.
Aspose.Pdf can read and manipulate many PDF file types but I am afraid currently it does not support the feature to load damaged files and fix it. However you may share some sample PDF files so that we can further investigate this issue at our end.
tom2:
· Determine the PDF version of the PDF file.
Please try using the following code snippet to get the PDF file version information

[C#]

//open document

Document pdfDocument = new Document("c:/pdftest/patent-information.pdf");

// get the PDF file version information

Console.WriteLine(pdfDocument.Version);


tom2:
· Merge documents into a single document.
Please visit the following link for further information on Concatenate PDF Files
tom2:
· Determine document dimensions and resize to 8.5” X 11”.
Please try using the following code snippet to get page dimensions information

[C#]

PdfPageEditor editor = new PdfPageEditor();

editor.BindPdf("sample.pdf");

PageSize size = editor.GetPageSize(1);

Console.WriteLine("Size of 1st page : " + size.Width + " x " + size.Height);


tom2:
· Determine document orientation and change to portrait orientation.
In order to determine if PDF page is in Landscape or Portrait orientation, you may try using GetPageHeight() and GetPageWidth() method of PageFileInfo class and determine if the page width is greater than page height, then page is in Landscape orientation.
tom2:
· Preserve active elements such as bookmarks and hyperlinks when resizing and reorienting documents.
Hyperlinks, Bookmarks and other page contents are not disturbed when changing page orientation.
tom2:
· Perform OCR function on documents.
In order to accomplish your requirements, you may first convert PDF pages to Image format and then try using Aspose.OCR to perform OCR. For further information, please visit

In case of any further query, please feel free to contact.