 In this program we are going to see how we can split a document using the bytes of SDK. So here we are having one document which having the total 11 pages and we are going to perform split on this file. So I am basically copying, pasting the file here, copy and paste here. Make sure it is available in the output directory. Splitting the document is very simple, we just need the instance of the document splitter class and we have to perform the split. Let's see. Document splitter, splitter equal to new document splitter. We are going to pass the registration name and key here and then we are going to split it. We need to provide the source document duties and we are having different options available like if we want to provide the range of the document which need to be split, we can provide it or if we only want to split into two pages like then provide the name of the first document and the name of the second document and the split from which this need to be happened. So let us try this scenario first, output name is first page and second split, let us rename it to first split and let us say the split happened and the page number 5. I am going to run it and it is done. Let's see what it is containing. Here it is. We are having the first split. Let's see how many pages it contains, it contains the four pages because the split happened at the page number 5 and in the second split, we are having the seven pages, it starts from the page number 5. So it's that simple. Let us see what we can do with the providing the range to it. So I am just deleting everything here and I am providing the range. So let us say I want page number 1, 2, 3 in my first split. I want page number 5 to 6 in my second split and page number 7 onwards in my third split. Let's see what it is doing. Okay, it's completed and let me see what it is containing in the bin folder. Oh, it's not happening. I guess let me get rid of this space here and try again, still not happening. I guess it is splitting. Let me see where it is generating files and we are going to just look through each output and see what is the output file for each file name in files, console.WriteLine, file name and open console.ReadLine because we need it here. Let us start. Oh, it was splitting, but the output folder is the temp. So we navigate from the temp and here it is, page number 1, 2, 3, 4, 2, 7 and 7 onwards. So just a way we did the document splitting, there is one class also available for the merging the document like we are having the document merger. And if you want to use it, it's very simple. Just create the instance, provide traces and name and keys and merger.merge, provide a source document and destination document and we are done.