Click here to Skip to main content
15,893,644 members
Articles / Programming Languages / C#

Scan and Read the Barcode from PDF File

Rate me:
Please Sign up or sign in to vote.
4.89/5 (30 votes)
5 Aug 2010CPOL4 min read 344.1K   30.1K   149  
Scan the PDF file and recognize if it contains the Barcode or not
using System;
using Line = ThoughtWorks.QRCode.Geom.Line;
using Point = ThoughtWorks.QRCode.Geom.Point;

namespace ThoughtWorks.QRCode.Codec.Util
{
	/* 
	* This class must be a "edition independent" class for debug information controll.
	* I think it's good idea to modify this class with a adapter pattern
	*/
	public class DebugCanvasAdapter : DebugCanvas
	{
		public virtual void  println(String string_Renamed)
		{
		}
		
		public virtual void  drawPoint(Point point, int color)
		{
		}
		
		public virtual void  drawCross(Point point, int color)
		{
		}
		
		public virtual void  drawPoints(Point[] points, int color)
		{
		}
		
		public virtual void  drawLine(Line line, int color)
		{
		}
		
		public virtual void  drawLines(Line[] lines, int color)
		{
		}
		
		public virtual void  drawPolygon(Point[] points, int color)
		{
		}
		
		public virtual void  drawMatrix(bool[][] matrix)
		{
		}
		
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Piyush has valuable experience in requirements gathering, designing, implementing, and maintaining data-driven, object-oriented and service based enterprise systems. In addition to his technical expertise, Piyush also published paper on knowledge management and he has excellent communication skills to cooperate with the clients.

He holds a Masters Degree in Computer Science from the University Of Michigan, USA

Comments and Discussions