PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Apr 25, 2024 8:39 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Apr 07, 2008 3:33 pm 
Offline

Joined: Mon Apr 07, 2008 3:28 pm
Posts: 2
I have dynamically build an HTML page and save into a string. I would to use this string to generate an PDF file. I was wondering, is it possible to use the PDFsharp to do so? If so, could you please provide some code on how to do so?

I have try looking for codes on how to do it but there is none.

Thanks!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 08, 2008 7:37 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
PDFsharp is able to write strings into PDF files - but it doesn't parse HTML tags (this is up to your code).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 13, 2008 6:52 pm 
Offline

Joined: Mon Apr 07, 2008 3:28 pm
Posts: 2
Do you have sample codes to write strings into a PDF file?

Thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 14, 2008 8:48 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Samples are in the samples folder of the PDFsharp download.
You might look at "TextLayout" and "Unicode". Others like "Graphics" and "TwoPagesOnOne" also write text to PDF. "Watermark" shows advanced text formatting features.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 309 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