c# - Migradoc Image in paragraph line -


i have pdf cover page have 5 paragraph lines, , on 5 paragraph line need able add logo picture, looks :

pragraph 1                                            first part of picture pragraph 2                                            second part of picture pragraph 3                                            third part of picture pragraph 4                                            fourth part of picture pragraph 5                                            fifth part of picture 

any ideas?

right if create 5 lines , put picture wrapperformat set through ends on or under paragraph lines.

simply set right margins of paragraphs keep text , image apart.

with wrapformat == through, images ignored while laying out text - that's design.

it's set paragraph margins keep text , images separated if that's want.

you can set margin paragraph (as shown below) or better create style , assign style paragraphs on frontpage:

paragraph paragraph = section.addparagraph("some text ..."); paragraph.format.rightindent = "6cm"; 

see definestyles routine in sample further information styles: http://www.pdfsharp.net/wiki/hellomigradoc-sample.ashx


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -