Hi,
I have an xml Document which is of 6 Pages. when I am trying to convert pdf. Content is limiting to single page pdf and overrlapping. Below is the code snippet
Aspose.Pdf.License lic = new Aspose.Pdf.License();
lic.SetLicense(“Aspose.Pdf.lic”);
Aspose.Pdf.Generator.Pdf scenarioExportPDF = new Aspose.Pdf.Generator.Pdf();
XmlDocument xmlDoc = new XmlDocument();
scenarioExportPDF.PageSetup.Margin.Left = 0;
scenarioExportPDF.PageSetup.Margin.Right = 0;
xmlDoc.LoadXml(exportScenaroioXML);
scenarioExportPDF.BindXML(xmlDoc, null);
scenarioExportPDF.Save(msExportScenarioStream); // save to stream
Aspose File version: 11.4.0.0
Expected is 6 pages of PDF
Appreciate your help!.