PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 12:42 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jul 21, 2023 12:51 am 
Offline

Joined: Mon Jun 05, 2023 2:56 am
Posts: 3
I hope to obtain path information from the PDF file and delete it. I have reviewed the sample document and cannot find the relevant code. It seems that I can only add a path. How can I implement it? Thank you.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 21, 2023 5:50 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 916
Location: CCAA
howze wrote:
I hope to obtain path information from the PDF file and delete it. I have reviewed the sample document and cannot find the relevant code.
The samples don't show how to extract text. But still it can be done.
At some point you have to start writing own code.
Similar to extracting text (third-party sample code can be found), you can write code to search for paths and remove them from the page content.
I cannot direct you to any samples. So maybe start with the text extractor sample code. Or look for a different library.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


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

All times are UTC


Who is online

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