PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Nov 22, 2019 11:20 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: Textframe fit content
PostPosted: Mon Nov 04, 2019 3:20 pm 
Offline

Joined: Wed Oct 30, 2019 10:44 am
Posts: 3
Hello, i am trying to make an application which dynamically creates a pdf based on user input. Because of this i need to be able to place everything exactly where i want it. Along with this, tables can be dynamic in size and if a table gets big, it should move everything below it further down, the solution to this seems to be to put everything into textframes, the problem with this however seems to be that the height of the textframe does not fit the height of the table inside it so the table will only push other objects down whatever arbitrary length i give the textframe. Is there a way to make the textframe height always equal to the height of its content?


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 05, 2019 9:14 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3009
Location: Cologne, Germany
Hi!
proink wrote:
Is there a way to make the textframe height always equal to the height of its content?
None that I'm aware of.
You can use PDFsharp to have absolute control over everything.
MigraDoc is much like Word, but it does not give you absolute control. It's best to avoid TextFrames and use the normal floating text as far as possible so that text can break to the next page.

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