Hi,
I tried groupDocs.merger to split files. I tried about 3 epub sample files which results in “Specified file is corrupted”.
code snippet:
try
{
var source3 = @"/localMachine/…./test2.epub";
var destination = @"/localmachine/..../split.epub";
SplitOptions splitOptions = new SplitOptions(destination, new int[] { 3, 6, 9 }, SplitMode.Interval);
var merge = new Merger(source3);
merge.Split(splitOptions);
return "Hello";
}
catch(Exception ex)
{
throw new Exception("Failed to split books");
}
error screen shot:
errorShot.jpg (108.5 KB)
epub file: