PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Aug 14, 2018 1:46 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
 Post subject: LineCap in XPen
PostPosted: Sat Sep 13, 2008 11:45 am 
Offline

Joined: Sat Apr 05, 2008 10:42 am
Posts: 2
Location: Bordeaux - France
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 !


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 15, 2008 12:33 pm 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2846
Location: Cologne, Germany
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 16, 2008 12:34 pm 
Offline

Joined: Sat Apr 05, 2008 10:42 am
Posts: 2
Location: Bordeaux - France
Thank you.
I'll have a look at the Paths option you mention.


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: No registered users and 1 guest


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