Hi,
I seem to be having problems with IsKeptWithNext, it doesn't do anything (in some situations at least).
I am generating the pdf from xml using Aspose.Pdf 6.4 .NET 4 version, test sample xml & pdf are attached, code is as follows:
Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
string xmlFile = HttpContext.Server.MapPath("~/App_Data/Test" + id + ".xml");
pdf.BindXML(xmlFile, null);
System.IO.MemoryStream ms = new System.IO.MemoryStream();
pdf.Save(ms);
return new FileContentResult(ms.ToArray(), "application/pdf") { FileDownloadName = "Test" + id + ".pdf" };
Regards,
Patrick
I seem to be having problems with IsKeptWithNext, it doesn't do anything (in some situations at least).
I am generating the pdf from xml using Aspose.Pdf 6.4 .NET 4 version, test sample xml & pdf are attached, code is as follows:
Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
string xmlFile = HttpContext.Server.MapPath("~/App_Data/Test" + id + ".xml");
pdf.BindXML(xmlFile, null);
System.IO.MemoryStream ms = new System.IO.MemoryStream();
pdf.Save(ms);
return new FileContentResult(ms.ToArray(), "application/pdf") { FileDownloadName = "Test" + id + ".pdf" };
Regards,
Patrick