PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jul 02, 2024 1:17 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jun 10, 2010 1:16 pm 
Offline

Joined: Thu Jun 10, 2010 1:12 pm
Posts: 2
Hi,

Is it position to have two (multiline) textframes at the same vertical position? Even if i put the height attribute of both textframes to the same value, they second one is shown below the first one.

Thanks a lot for your help,

B.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 10, 2010 2:58 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!
bjansen wrote:
Even if i put the height attribute of both textframes to the same value, they second one is shown below the first one.

Height is size, not position.

Set position relative to Page, not relative to Paragraph.

Sample code snippet:
viewtopic.php?p=3133#p3133

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 10, 2010 8:22 pm 
Offline

Joined: Thu Jun 10, 2010 1:12 pm
Posts: 2
thanks. this allows me to put both textframes at let's say five cm. from the top or bottom of the page. But, how do I put both textframes right below some particular paragraph (which can be anywhere because I have variable lenght tables)?

Bart


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 28, 2011 11:59 am 
Offline

Joined: Fri Feb 25, 2011 2:24 pm
Posts: 4
You can do it by creating a two-columns one-row table and nesting TextFrames in the cells.


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 13 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