I download the trial version of ASPOSE .NET library for valuation on a project we are doing for conversion from PCL to PDF.
Here is the code sample for this conversion:
class Program
{
static void Main(string[] args)
{
// Instantiate LoadOption object using PCL load option
LoadOptions loadopt = new PclLoadOptions();
// Create Document object
Document doc = new Document(@"D:\PDF\Certificate.pcl", loadopt);
// Save the resultant PDF document
doc.Save(@"d:\PDF\Certificate.pdf");
}
}
Conversion Sample 1: document Certificate.pcl
Expected Result: file Certificate_PureBroker.pdf
Conversion Result: The conversion failed throwing an error:
An unhandled exception of type ‘System.ArgumentException’ occurred in Aspose.Pdf.dll
Additional information: Item has already been added. Key in dictionary: ‘32’ Key being added: ‘32’
Conversion Sample 2: document sample ProposalForm.pcl
Expected Result: file ProposalForm_PureBroker.pdf
Conversion Result: file ProposalForm_Aspose.pdf
Comparing those documents I did found lot of differences. Please look on attached files.
Both conversions are failing to give the expected results.
I can supply the example files.