TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jayakumar Balasubramaniam
177
10.2k
1.4m
Editing pdf in C#.net
Aug 26 2014 6:04 AM
Hi All,
I have a windows application in which am displaying the PDF file in PDF viewer(Adobe Acrobat or Via WebBrowser control).
I have EDIT button in the form when i click the edit button i should be able to edit the pdf as like normal text documets...
And I have ADD PAGE button when click that a blank page has to be added next to the current page.
Can you please help ?
Reply
Answers (
5
)
1
Rahul Prasad
0
615
60
May 18 2015 5:09 AM
Check this article for
adding text to blank PDF page in C#
, hope this helps :)
1
Romero Cesar
0
2
0
Sep 4 2014 11:28 AM
Standard .NET classes don't directly support handling PDF Document format. You need to use a programming SDK (like leadtools or itextsharp). Since I am not familiar with itextsharp, I will talk about my experience with leadtools functions. This SDK supports loading PDF files, extract text and save it back as PDF document format.
I am suggesting the following approach using lead tools functions:
- Load the PDF file as image (all objects (Text, Images, hyperlinks, etc.) inside the PDF file will be rasterized as one image).
- Pass the rasterized image to one of leadtools OCR engines. Lead OCR engines give the ability to define a zone on the image, recognize the text, edit it and then save it back as PDF document format.
You can find more information here:
http://support.leadtools.com/CS/forums/31677/ShowPost.aspx
1
Jayakumar Balasubramaniam
177
10.2k
1.4m
Sep 2 2014 3:23 AM
Hi R J/Alex,
Thanks for your replies, but i have already referred those references, but i am not able to fill my requirement.
1
Alex Smith
0
376
16.5k
Aug 28 2014 3:22 AM
As RJ said, you can try itextsharp or any other 3rd party PDF component..Anyway, I recommend you donwloading and evaluating this .NET PDF API (avalible on Codeplex http://pdfapi.codeplex.com/), which enables you to open/read/edit PDF file in any .NET platform.Hope helps.
Regards
1
R J
0
380
70.7k
Aug 26 2014 11:14 AM
see this..
http://simpledotnetsolutions.wordpress.com/2012/04/08/itextsharp-few-c-examples/
you can use itextsharp in your example.
Also, I have seen similar post in ASP.net forums.
http://forums.asp.net/t/1408202.aspx?read+and+edit+pdf+using+c+
This may help you. Place your code if you find any issues.
How to Set Back Ground or Font Color in ASP.NET C#
Gridview Binding Prob ?