PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Images in a table cell side by side.
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2031
Page 1 of 1

Author:  bantza [ Fri May 25, 2012 10:32 am ]
Post subject:  Images in a table cell side by side.

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#.

Author:  () => true [ Fri May 25, 2012 7:42 pm ]
Post subject:  Re: Images in a table cell side by side.

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.

Author:  bantza [ Tue May 29, 2012 6:06 am ]
Post subject:  Re: Images in a table cell side by side.

You are right, adding paragraph did the trick.
Thank you.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/