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

Text border
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2668
Page 1 of 1

Author:  jaime_olivares [ Mon Nov 25, 2013 12:56 pm ]
Post subject:  Text border

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 5221 times ]

Author:  Thomas Hoevel [ Mon Nov 25, 2013 2:23 pm ]
Post subject:  Re: Text border

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).

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