PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Jul 06, 2024 7:28 am

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
PostPosted: Fri Jan 21, 2011 6:00 am 
Offline

Joined: Fri Jan 21, 2011 5:28 am
Posts: 3
Hi all, this is my first post.

The issue: my purpouse is to apply to existent pdf a vertical watermark regardless pdf file resolution (or DPI?).
Also my watermark should appear on right side starting by heigh vertex like following:

--------
| m |
| a |
| r |
| k |
--------

How can I do it?
Thnaks in advance..


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 22, 2011 5:36 am 
Offline

Joined: Fri Jan 21, 2011 5:28 am
Posts: 3
Well - I reply to myself
I solved through following code:

Code:
  double xw = -page.Width.Point;
              gfx.RotateAtTransform(90, new XPoint(0, 0));
              gfx.DrawString("prova", new XFont("Arial", 20), XBrushes.Red, 30, xw + 20);
              gfx.RotateAtTransform(-90, new XPoint(0, 0));


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 64 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