PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

RTF printing in a pdf
https://forum.pdfsharp.net/viewtopic.php?f=4&t=3131
Page 1 of 1

Author:  mdejolier [ Tue Jun 16, 2015 6:54 am ]
Post subject:  RTF printing in a pdf

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 913 times

Author:  riccardo [ Thu Jan 14, 2016 3:25 pm ]
Post subject:  Re: RTF printing in a pdf

The feature interest me too

I need to embedded some rtf text into my documents

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/