 In this tutorial, we are going to see how we can read the barcodes from a PDF on page by page basis. So, the main difference here is that we can optimize the performance by limiting the barcode reading area. So, here I am having one sample file which is containing the two pages. And we are going to demonstrate how we can read through it. So, first of all, I am adding PDF here. Make sure it is in the bin folder when deployed. So, here is our game plan. First of all, we are going to create an instance of the reader class. Then we are going to set the barcode types to find and then we will iterate through pages and display the output. So, let us create instance here. Provide registration keys and name. I am using the demo key. Now, let us set which barcode types to find. So, we can do that by using reader.barcode types to find. So, here I am going to find all the 1D barcodes which is containing in the PDF. This process will utilize the CPU time. But let us see how we can find it. Now, I am going to set the pages to read from. I am going to specify two pages. And let me specify the input file. Now, let us iterate through page by page basis and read the output. Now, for each file, we are going to find the barcode. So, we can do that by using reader.readfrom. I am going to specify the file name, input file and the page index. So, this is the 0 page index. So, I am going to page minus 1. And this will return me the array of the found barcode. Now, let us display the output. Here, let me specify the page name. Reading from page and page number, found barcode value. I have to look through all the found barcodes here. Barcode.value.barcode.type. And I guess we are all set here. So, let me run it and see the output. Okay, it is reading from page 1. And it is found the 1 barcode in the page 1 of the type code 128 in the page 2. And it found this barcode. Okay, it is that easy to read from the PDF on the page by page basis.