Click here to Skip to main content
11,717,126 members (84,702 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET PDF
i have 50 doc file. i need to convert these 50 doc to a single pdf.

Scenario 1. I will convert all 50 doc file to pdf and then merge all 50 pdf to one resultant pdf

Scenario 2. I will first merge all 50 doc file to a single doc file and then use this single doc file to generate the resultant pdf

I have to do these conversion using asp.net 3.5 and i can't use paid libraries!!!

my question is in which scenario my resultant pdf will smaller in size!!!
Posted 5-Dec-12 1:24am
Comments
Richard MacCutchan at 5-Dec-12 8:45am
   
How can anyone answer this question? We have no idea what your data looks like or how efficient your code is, so the resulting PDF files could contain any amount of different data. The only way to answer this is to run some tests for yourself.
prahalad.gaggar at 5-Dec-12 9:16am
   
Well said sir...let me be more specific

It contains data to generate the a insurance policy with black and white images (around 2-3 including all the 50 docs collectively).
ryanb31 at 5-Dec-12 10:02am
   
I can't imagine the size will be very different since in the end you'll have a single 50 page pdf no matter which approach you take. It will also partly depend on what control you use to do it.
prahalad.gaggar at 5-Dec-12 10:16am
   
thanks...i have 1 more question : how can we reduce the size of an existing pdf only with programically (c# 3.5)....i don't wish to use paid library to do so...i can provide you with the sample pdf http://pdfcast.org/pdf/insured-lloyds

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 659
1 F-ES Sitecore 260
2 Maciej Los 185
3 OriginalGriff 175
4 Richard MacCutchan 140
0 Sergey Alexandrovich Kryukov 1,029
1 Maciej Los 464
2 Richard MacCutchan 430
3 CHill60 415
4 OriginalGriff 415


Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100