PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 28, 2024 12:49 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
 Post subject: Modify table position
PostPosted: Thu Aug 13, 2015 7:55 am 
Offline

Joined: Thu Aug 13, 2015 7:49 am
Posts: 6
Hello,

i just wanted to ask if there is any way how i can modify the horizontal start orend of a created table.
The problem i have is that i need a table with more with (need the whole width of the page).
For info i am using MigraDoc if that´s not obvious :wink:

Greetings and thanks in advance


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 13, 2015 8:37 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!

You can set table.Rows.LeftIndent to indent the table. You can use negative values to have a table across the full width.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 13, 2015 8:47 am 
Offline

Joined: Thu Aug 13, 2015 7:49 am
Posts: 6
Wow, that was a really fast and helpful answer,
thanks a lot and have a nice day! :)


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 14, 2015 8:10 am 
Offline

Joined: Thu Aug 13, 2015 7:49 am
Posts: 6
Thomas Hoevel wrote:
Hi!

You can set table.Rows.LeftIndent to indent the table. You can use negative values to have a table across the full width.


I got this one down now, but my table doesn´t start at the top of the page.
Is there a way to adjust the vertical position of the table too?

Greetings


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: No registered users and 370 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group