PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Floating images
http://forum.pdfsharp.com/viewtopic.php?f=2&t=1275
Page 1 of 1

Author:  rentmaster [ Sat Jul 24, 2010 6:14 am ]
Post subject:  Floating images

Using migradoc, is it possible to create an image that 'floats' above everything else. I can see you can add an image to a section or to a table cell, but adding it to a table cell causes the cell to grow to the size of the image.

Alternatively, is it possible to create the document in migradoc, and then add the image later using pdfsharp?

Author:  Thomas Hoevel [ Mon Jul 26, 2010 7:39 am ]
Post subject:  Re: Floating images

You can set the WrapFormat => WrapStyle of an image to "Through" ("The object will be ignored when the other elements are placed.").

Text will not float around the image. But if you want the image to overlay the text or if you otherwise prevent text from "colliding" with the image, this will work.

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