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

Simple graphics in migradoc
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3794
Page 1 of 1

Author:  pistoletov [ Wed May 23, 2018 11:38 am ]
Post subject:  Simple graphics in migradoc

Hi!
i make my document with migradoc (paragraphs, tables etc//) but i need some watermarks in paragraphs or simple lines in specifiec places for cross some texts. Does it possible to do only with migradoc or i need a pdfsharp too? Please advice the simple way. I create my document and render it to preview in GDI+ and print it. I do not save pdf's. Simpe example attached:

Attachments:
sample.png
sample.png [ 1.78 KiB | Viewed 4297 times ]

Author:  Thomas Hoevel [ Wed May 23, 2018 2:23 pm ]
Post subject:  Re: Simple graphics in migradoc

Hi!
pistoletov wrote:
I do not save pdf's.
So PDFsharp cannot do much good.
Creating an image with a red cross on transparent background would be an option. Positioning that image would be the trickiest part.

Author:  pistoletov [ Wed May 23, 2018 2:29 pm ]
Post subject:  Re: Simple graphics in migradoc

Thank you, Thomas. But text can be different size and put over image is realy hard. Or migradoc can resize image?
I suppouse to use strikethrow is better..
Does it posiible to use strikethrow in migradoc? Like this: Strikethrough (l̶i̶k̶e̶ ̶t̶h̶i̶s̶) - Cross Out Text Generator ...

Author:  Thomas Hoevel [ Wed May 23, 2018 2:37 pm ]
Post subject:  Re: Simple graphics in migradoc

I'm not sure if we have Strike Through with MigraDoc.

Author:  pistoletov [ Wed May 23, 2018 7:35 pm ]
Post subject:  Re: Simple graphics in migradoc

Unfortunately strikethrows available in pdfsharp xfont property only and not available in migradoc.

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