PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Mar 19, 2024 7:06 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jul 13, 2022 8:41 pm 
Offline

Joined: Wed Jul 13, 2022 8:26 pm
Posts: 1
I have searched these forums and cannot find a solution so apologies if this has already been addressed somewhere. I also understand that editing text in a PDF is far from easy however my requirement is hopefully a little simpler.
Avoiding histrionics; I need to locate all GBP symbols (UK Pound, ASCII 163, £) and simply delete them.

Before and After Images
Image

Has anyone got some simple C# snippets that would achieve this ?

Couple of pre-answers:
1. No I cannot edit the source, it is generated from a system outside of my control
2. The document is editable, and in Adobe Acrobat Pro I can manually delete each instance of the symbol. Currently about 6 per document
3. I cannot draw a white square over the location as it varies depending on the length of the value 0.00, 00.00, 000.00 etc
4. It is not a Form Fielded document, Text is positioned in boxes which in edit mode appear this this....
Image

Hope someone can help : )


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 52 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