PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Mar 29, 2024 5:01 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: Mon Nov 24, 2014 5:12 pm 
Offline

Joined: Mon Nov 24, 2014 5:01 pm
Posts: 1
When setting an edge for a table we can define the border style as None. When we define the line like this we hope that no line appears. But instead we get a table with a line as if we select the border style Single. The function used to define the edge for the table is this:

Code:
table.SetEdge(0, 0, 2, 3, Edge.Box, BorderStyle.None, 5, Colors.Black);


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 25, 2014 12:34 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!
Yes, it's a bug. Thanks for your feedback.
With style "None" there should be no border at all, and width and color should be ignored.
Style "None" cannot be used to create a padding (if that was your intention).

_________________
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 53 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