PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Oct 13, 2024 11:35 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RTF printing in a pdf
PostPosted: Tue Jun 16, 2015 6:54 am 
Offline

Joined: Sat May 23, 2015 9:37 am
Posts: 6
Good morning,

I have written a class that prints RTF in a graphics object and I was wondering if this was usable as is in your own Xgraphics object and if yes, how to implement it. Or, is there a function for that in PdfSharp that I didn't see?
My class is using the USER32.DLL APIs and works fine enough. There are some minor issues with the X,Y positioning as the API seems to sometimes not calculate the X, Y coordinates accurately (which means shifting data by a few pixels only), but I'm working on circumvention. Or maybe, there just is a bug in my code that that I didn't see yet :-)
I have included a sample project.
Best regards
Michel Dejolier


Attachments:
TestRtfInDocs.zip [213.13 KiB]
Downloaded 2215 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 14, 2016 3:25 pm 
Offline

Joined: Wed Jan 13, 2016 9:33 am
Posts: 15
The feature interest me too

I need to embedded some rtf text into my documents


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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