PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Apr 26, 2024 4:53 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Modify an Existing PDF
PostPosted: Sun Jan 09, 2011 3:51 am 
Offline

Joined: Sat Jan 08, 2011 5:17 pm
Posts: 4
Hi there, I am new to PDFSharp and Migradoc. I'm planning to use it in a little project of mine.

I was wondering how to open a pdf for editing and add a simple text to it.

If anyone could point me to the right direction I would appreciate that very much.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 09, 2011 9:47 am 
Offline

Joined: Sun Jan 09, 2011 9:40 am
Posts: 1
Hello cubski,
Code:
Dim myDoc As PdfDocument = PdfReader.Open("C:\test.pdf", PdfDocumentOpenMode.Modify)
Dim myPage As PdfPage = myDoc.Pages(0)

Then you can using the myPage for adding what you want.
Mike


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 10, 2011 6:00 pm 
Offline

Joined: Sat Jan 08, 2011 5:17 pm
Posts: 4
Thank you for your help q166132.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 347 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group