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
Post a Comment