Click here to Skip to main content
11,924,995 members (51,483 online)
Rate this:
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 2:24am
Richard MacCutchan 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 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 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151125.3 | 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