PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

dotted filler lines
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2886
Page 1 of 1

Author:  briankitt [ Thu Aug 07, 2014 4:10 am ]
Post subject:  dotted filler lines

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.

Author:  Thomas Hoevel [ Thu Aug 07, 2014 8:47 am ]
Post subject:  Re: dotted filler lines

With MigraDoc simply set a TabStop (right or decimal) with dots as filler.

Author:  briankitt [ Thu Aug 07, 2014 6:46 pm ]
Post subject:  Re: dotted filler lines

Oh, that's it. That fixed it!

Thanks!!!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/