hi dears,
i try pdf splitting in aspose java and occured this error
Caused by: class com.aspose.ms.System.g: Value cannot be null.
Parameter name: path1
com.aspose.ms.System.e.ae.bp(Unknown Source)
com.aspose.g.i.r.aNo(Unknown Source)
com.aspose.g.m.h.bfO(Unknown Source)
com.aspose.pdf.Document.<clinit>(Unknown Source)
here's my code
Document pdf = new Document(myDir + myFile);// error occure in this line..
for (int i = 1; i <= pdf.getPages().size(); i++) {
Document document = new Document();
document.getPages().add(pdf.getPages().get_Item(i));
document.save(myDir + outputName + "_" + i + ".pdf");
}
pdf file is in attachment
thanks your suggests.