PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Sep 27, 2024 3:47 am

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: dotted filler lines
PostPosted: Thu Aug 07, 2014 4:10 am 
Offline

Joined: Wed Mar 06, 2013 3:53 pm
Posts: 22
I have a grid on a report that the user wants filled in with .... The problem is that I am using proportional fonts. Since I am using proportional fonts, I have no idea how many . to put in. I allow them to pick PDF or RTF format, so it needs to work for both.

Here is an example:
Some Label........................................12,345
Some other label...................................3,456
Some last Label that is longer................14,322

The text (and dots) will be left aligned.
The totals will be right aligned.

I can't use underlines, because that will put dots under the label, and the user does not want that.


Top
 Profile  
Reply with quote  
 Post subject: Re: dotted filler lines
PostPosted: Thu Aug 07, 2014 8:47 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3110
Location: Cologne, Germany
With MigraDoc simply set a TabStop (right or decimal) with dots as filler.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: dotted filler lines
PostPosted: Thu Aug 07, 2014 6:46 pm 
Offline

Joined: Wed Mar 06, 2013 3:53 pm
Posts: 22
Oh, that's it. That fixed it!

Thanks!!!


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 146 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