PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Aug 18, 2017 8:16 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
PostPosted: Wed Jun 28, 2017 6:49 pm 
Offline

Joined: Sun Jun 25, 2017 10:00 pm
Posts: 4
Hi,

Does anyone know how to create a horizontal line that spans across the page width? I tried to create new table to display the line with column width across the entire page but it gets restricted by the margin in the page setup.

Is there a way to draw a page-wide horizontal line without restricted by the margin in Migradoc?

Thanks,
Steven


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 29, 2017 8:56 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2689
Location: Cologne, Germany
Hi!
Steven wrote:
I tried to create new table to display the line with column width across the entire page but it gets restricted by the margin in the page setup.
It is not restricted, you do not use it properly.

Steven wrote:
Is there a way to draw a page-wide horizontal line without restricted by the margin in MigraDoc?
A table will do. Set the left indent to match the with of the page margin (for a margin that is 2.5 cm you will need a left indent of -2.5 cm) and set the width of the table to match the width of the page.

A paragraph with a top or bottom border should also work (using negative indents, too). Or an image.

_________________
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: Baidu [Spider], williams3, Yahoo [Bot] and 9 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:  
Powered by phpBB® Forum Software © phpBB Group