PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 1:43 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed May 23, 2018 11:38 am 
Offline

Joined: Tue Aug 15, 2017 11:27 am
Posts: 29
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 4280 times ]
Top
 Profile  
Reply with quote  
PostPosted: Wed May 23, 2018 2:23 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed May 23, 2018 2:29 pm 
Offline

Joined: Tue Aug 15, 2017 11:27 am
Posts: 29
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 ...


Top
 Profile  
Reply with quote  
PostPosted: Wed May 23, 2018 2:37 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
I'm not sure if we have Strike Through with MigraDoc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed May 23, 2018 7:35 pm 
Offline

Joined: Tue Aug 15, 2017 11:27 am
Posts: 29
Unfortunately strikethrows available in pdfsharp xfont property only and not available in migradoc.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 143 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group