View previous topic :: View next topic |
Author |
Message |
joan
Joined: 05 Apr 2008 Posts: 2 Location: Bordeaux - France
|
Posted: Sat Sep 13, 2008 11:45 am Post subject: LineCap in XPen |
|
|
Hi,
This may have been raised already but I couldn't find it...
I need to draw lines with arrows at the end.
In GDI+, I would use Pen.StartCap and Pen.EndCap, specifying LineCap.ArrowAnchor as a value.
I couldn't find a way to draw arrow lines in PdfSharp, XPen doesn't expose StartCap / EndCap and its LineCap property can only be flat/round or square.
Thank you ! |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Mon Sep 15, 2008 12:33 pm Post subject: |
|
|
Hello!
We don't use GDI+ when we create PDF files.
That's why XPen only offers a subset of the capabilities of GDI+ - the subset that is compatible with PDF.
StartCap/EndCap and certain options of LineCap would have to be handled by our own implementation to show in PDF.
There are no plans to implement StartCap/EndCap in the foreseeable future.
You can use Paths to draw lines with arrows at the end. _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
joan
Joined: 05 Apr 2008 Posts: 2 Location: Bordeaux - France
|
Posted: Tue Sep 16, 2008 12:34 pm Post subject: |
|
|
Thank you.
I'll have a look at the Paths option you mention. |
|
Back to top |
|
|
|