PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Jun 05, 2024 3:34 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
PostPosted: Fri Feb 27, 2009 9:35 pm 
Offline

Joined: Fri Feb 27, 2009 9:33 pm
Posts: 4
Hey. I'm developing an application that needs to draw a diagonal watermark across the page. I can draw the watermark without any issue except one.

How can I make the text centered? For short names the text is aligned to the left.

Any help would be appreciated.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 02, 2009 8:55 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3099
Location: Cologne, Germany
The Watermark sample draws centered:
http://www.pdfsharp.de/PDFsharp/index.p ... &Itemid=51

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 02, 2009 6:43 pm 
Offline

Joined: Fri Feb 27, 2009 9:33 pm
Posts: 4
Thanks for the link. I'll try that.


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], Google [Bot] and 210 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