Click here to Skip to main content
11,802,076 members (53,874 online)
Rate this: bad
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 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
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

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

  Print Answers RSS
0 OriginalGriff 475
1 KrunalRohit 341
2 F-ES Sitecore 295
3 Afzaal Ahmad Zeeshan 230
4 CHill60 195
0 OriginalGriff 2,715
1 Maciej Los 1,900
2 KrunalRohit 1,797
3 CPallini 1,550
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.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