PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 8:29 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
 Post subject: how to Extract Barcode?
PostPosted: Tue Feb 26, 2019 7:32 pm 
Offline

Joined: Tue Feb 26, 2019 6:25 pm
Posts: 3
How to extract a Barcode from the pdf using PDFParser in c#


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 26, 2019 7:41 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Write some code that does the job.

Are the barcodes drawn using rectangles? Are they embedded bitmaps? Are they using barcode fonts?

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 27, 2019 12:15 am 
Offline

Joined: Tue Feb 26, 2019 6:25 pm
Posts: 3
The pdf is a scanned excel document using the barcode font "CarolinaBar-B39-25E2".
Thanks


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 27, 2019 7:13 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
So analyse the PDF and check what the scanner made of the barcodes.

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 27, 2019 6:19 pm 
Offline

Joined: Tue Feb 26, 2019 6:25 pm
Posts: 3
It returns it back as a CString object with value ="ffirrurJr!!$ruilil". I am new to pdf and barcodes, so will appreciate if you can guide/redirect me on how to extract the Barcode value.


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 145 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