Acrobat SDK - extract text from PDF files without having it installed - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

Acrobat SDK – extract text from PDF files without having it installed

  • Home
  • /
  • Articles
  • /
  • Acrobat SDK – extract text from PDF files without having it installed

Acrobat SDK – extract text  from PDF files without having it installed. No additional tools needed. Use C# and Visual Basic .NET source code samples below to extract from PDF to TXT with PDF Extractor SDK.

VB.NET

 ' Create Bytescout.PDFExtractor.TextExtractor instance
 Dim extractor As New TextExtractor()
 extractor.RegistrationName = "demo"
 extractor.RegistrationKey = "demo"

 ' Load sample PDF document
 extractor.LoadDocumentFromFile("sample2.pdf")

 ' Save extracted text to file
 extractor.SaveTextToFile("output.txt")

C#

// Create Bytescout.PDFExtractor.TextExtractor instance
 	TextExtractor extractor = new TextExtractor();
 	extractor.RegistrationName = "demo";
 	extractor.RegistrationKey = "demo";

 	// Load sample PDF document
 	extractor.LoadDocumentFromFile("sample2.pdf");

 	// Save extracted text to file
 	extractor.SaveTextToFile("output.txt");

Tutorials:

prev
next