PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 10:35 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Feb 19, 2010 3:01 pm 
Offline

Joined: Thu Feb 18, 2010 5:08 pm
Posts: 13
How can I place Text at Specific Horizontal Tab Stop ?
I do not want to just place it at the next Tab Stop but at a specific one so I can be sure that text on multiple lines will line up.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 22, 2010 9:11 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Like in Word: make sure the tab stops are at the right places ...
... or use Tables.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 22, 2010 1:26 pm 
Offline

Joined: Thu Feb 18, 2010 5:08 pm
Posts: 13
How do I specify in MigraDoc which tab stop to move the text to ?

How do I do something like :
MoveToTab(3)
AddText("text at tab 3")


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 23, 2010 9:07 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Like in Word: make sure the tab stops are at the right places ...
... or use Tables.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 23, 2010 1:40 pm 
Offline

Joined: Thu Feb 18, 2010 5:08 pm
Posts: 13
Once I have the Tab Stops located properly, how do I specify which Tab Stop for the text to move to?

AddTab(s) do not do what I want. A series of AddTab(s) will move the text from the end of the previous Text, some number of additional Tab Stops.

But a function like MovetoTab(4) will moe the Text to Tab Stop 4 regardless of the length of the previous text. This is necessary to make sure that Columnar data allign properly at specified Tab positions.

Does Migradoc have any feature that would allow me to position the Text at any specified Tab Stop regardless of the length of previous Text on the line? What feature is this and what does the code look like?


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 23, 2010 1:54 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
No, MigraDoc uses the next tab automatically, no manual override.

It's just like in Word: make sure the tab stops are at the right places and the texts are not too long ...
... otherwise use Tables (Tables can be invisible if they have no borders).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 357 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