PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Sun Sep 21, 2025 9:57 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Text border
PostPosted: Mon Nov 25, 2013 12:56 pm 
Offline

Joined: Mon Nov 25, 2013 12:37 pm
Posts: 1
I need to render a text border in a pdf, similar to:
http://www.webtutorialplus.com/wp-conte ... e-text.gif

I have gone through the PdfSharp API and couldn't find a suitable class/property


Attachments:
File comment: sample effect
stroke-text.gif
stroke-text.gif [ 1.4 KiB | Viewed 5219 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Text border
PostPosted: Mon Nov 25, 2013 2:23 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3135
Location: Cologne, Germany
See here:
http://www.pdfsharp.net/wiki/Graphics-s ... to_path_15

Check page 3 of the generated PDF (it uses a Pen and a Brush to draw letters filled).

A simpler way would be using outline versions of fonts (which are available for some fonts).

_________________
Regards
Thomas Hoevel
PDFsharp Team


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