PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Sep 07, 2024 5:24 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
 Post subject: Aligning Text
PostPosted: Sun Apr 28, 2013 1:53 pm 
Offline

Joined: Sun Apr 28, 2013 1:50 pm
Posts: 1
This might be a really simple question, but I'm stumped..

I have my values displaying like this using PDFsharp

Code:
14212.00
1312.00
41.00
1563151.00


I was wondering if it is possible to format them like this

Code:
  8888.00
    88.00
     8.00
888888.00


Top
 Profile  
Reply with quote  
 Post subject: Re: Aligning Text
PostPosted: Mon Apr 29, 2013 10:05 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3109
Location: Cologne, Germany
With MigraDoc, use decimal tab stops.

With PDFsharp, do it yourself (as a hack, use a font where all digits have the same width and draw the numbers right-aligned).

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