PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 04, 2024 4:24 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: Paragraph Fixed Width
PostPosted: Wed May 15, 2013 11:10 am 
Offline

Joined: Wed May 08, 2013 10:56 am
Posts: 17
Hey guys,

I want to create a logo placeholder; the word LOGO with a black border. By default a paragraph spans the full width of the page. How can I give it a fixed width, or have it wrap the text?

Thanks,
Ben


Top
 Profile  
Reply with quote  
PostPosted: Wed May 15, 2013 12:05 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
benfosterdev wrote:
By default a paragraph spans the full width of the page. How can I give it a fixed width, or have it wrap the text?
It's like Word. Set left or right indent of the paragraph to reduce the width. Linebreaks occur automatically at spaces, hyphens, and soft hyphens.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed May 15, 2013 2:36 pm 
Offline

Joined: Wed May 08, 2013 10:56 am
Posts: 17
Hey Thomas,

Would this not be a case for a TextFrame? I notice when I add a paragraph to a text frame, the text frame does wrap the paragraph contents. However, when I add a line to the text frame it doesn't actually surround the contained paragraph. Have I misunderstood how text frames work?

Thanks,
Ben


Top
 Profile  
Reply with quote  
PostPosted: Wed May 15, 2013 3:28 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
AFAIK TextFrames are somewhat simple and require the user to match the size of the TextFrame to its contents.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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: Google [Bot] and 245 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