PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jul 14, 2024 9:57 pm

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: Tue Sep 02, 2014 5:20 pm 
Offline

Joined: Tue Sep 02, 2014 4:57 pm
Posts: 1
Two problems for table cells that I'm trying to use for display of a pair of items:
  1. extra "padding" is added to whatever I put in the cell (see red outline)
  2. tab stops are rendered as left-aligned, even though I specified right-aligned:

Image

Breaking it into columns might help the second issue, but the 1st is still a problem since I'm trying to emulate a priinted form as closely as possible. There was another post related to this, with an image instead of a paragraph: viewtopic.php?p=8362#p8362

Attachment:
File comment: console app to duplicate issue
ConsoleApplication1.zip [3.88 KiB]
Downloaded 382 times


Attachments:
File comment: what I see
ScreenJot Cropped 09-02-2014 13 10 22.jpg
ScreenJot Cropped 09-02-2014 13 10 22.jpg [ 11.79 KiB | Viewed 4920 times ]
Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 03, 2014 8:11 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Re 1: Columns have a width. If the text added to the cell is shorter than the width of the cell, then there will be nothing - an emptiness that may be seen as "padding".

Re 2: TabStops do work within tables AFAIK - we use them in our application, too. However if the tab stop position is too small and the preceding text already goes past the tab stop, the next tab stop will be used - and this may well be an automatically generated left-aligned tab stop.

I didn't check your source code yet because I am not sure what you try to achieve.

_________________
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: Google [Bot] and 31 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