PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 15, 2024 10:34 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri May 25, 2012 10:32 am 
Offline

Joined: Fri May 25, 2012 10:27 am
Posts: 2
I've tried to search and with trial and error, but I can't seem to figure out how can I insert images side by side.
I have a table cell where I insert images and I wish them to be inserted side by side until cell width is reached, then go to next row. Just it would happen if I did this with HTML and defined the width of the table cell.
Right now there is a newline after each images.
Is this even possible or do I have to use "absolute positioning" and calculate coordinates my self?

I'm using Migradoc 1.32 WPF with Visual Studio Express C#.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 25, 2012 7:42 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 343
If you add a paragraph to the table cell and then call AddImage more than once for the same paragraph, the images should show side by side IIRC.

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Tue May 29, 2012 6:06 am 
Offline

Joined: Fri May 25, 2012 10:27 am
Posts: 2
You are right, adding paragraph did the trick.
Thank you.


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

All times are UTC


Who is online

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