PDFsharp & MigraDoc Foundation

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

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
PostPosted: Thu May 13, 2010 7:15 pm 
Offline

Joined: Thu Feb 25, 2010 2:44 pm
Posts: 14
Perhaps I'm looking in the wrong place, but I can't figure out how to set the Text Rendering mode (the Tr operator). If this isn't supported by existing methods or properties, is there a generic method I can call to inject a raw command stream?


Top
 Profile  
Reply with quote  
PostPosted: Mon May 17, 2010 3:06 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Have you checked this sample:
http://www.pdfsharp.net/wiki/WorkOnPdfO ... ample.ashx

I'm unfamiliar with the Tr operator so I don't know if this helps.

But since PDFsharp is open source, there will be a place where you can inject that operator.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon May 17, 2010 3:24 pm 
Offline

Joined: Thu Feb 25, 2010 2:44 pm
Posts: 14
I was just wondering if there was a catch-all function to allow me to put anything into the contents stream of an XGraphics object, like maybe XGraphics.WriteRaw(). Alas, it appears that there is not. I'll just probably extend the XGraphics class with a SetTextRendering() method. Thanks.


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: Bing [Bot] and 234 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