Click here to Skip to main content
15,173,033 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello everyone...

Please i Need an application to be Like a Scanner by Vb.Net(better) or C#

Because i need to scan a document and save it as PDF

Thank u All :)
Posted
Comments
Osman24 27-May-13 6:36am
   
if you mean word document you can look here:
http://msdn.microsoft.com/en-us/library/bb412305.aspx

if not, what dou you mean with document
Othmane Nemli 27-May-13 7:33am
   
i want scan a paper from scanner and save it as pdf
u get what i mean ?

Here your solution:
Scan2PDF[^]
   
http://www.arlt.eu/blog/2013/03/11/scan-image-compress-and-save-to-pdf/[^]

I thinks this link help you.
Thanks & regard
shambhoo
   
Comments
Othmane Nemli 27-May-13 7:31am
   
Thank you Shambhoo.. But I'm not understand where i put the code..
which button .. there is no interface(GUI) to see an example !!
Shambhoo kumar 27-May-13 7:54am
   
you use only two function for this purpuse.

Image ScanImage() and void SaveAsPDF(Image image, string filename)

in this situation u You need to use an open source library "iTextSharp" to save data to PDF.

just u take a button on your windows form and do write this code on behind button code. but first u attach a iTextSharp.dll file must.
Othmane Nemli 27-May-13 8:31am
   
when i call SaveAsPDF -- the arguments image and filename ... by what i'll replace them !!
image : control 'picturebox'
filename : name of the file
?

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




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900