title: How to get text from image using C# .NET
body: <p>I am trying to figure out how to get text from an image programmatically using a .NET language, preferably C#.  </p>
  
  <p>I know that there are several free softwares available out there that will extract text from images, and I have MS OneNote.  OneNote seems to work fine for me to extract the text, but I don't know how to do it programmatically, only using the user interface.</p>
  
  <p>The rest of the processing I want to do from there I can figure out on my own, but I need the code to get an OCR program like OneNote to open a PDF from a folder location, read the scanned image in the PDF, convert it to text, and save the text into an array for further processing.</p>