Hello, i’m searching for this information: Aspose PDF conversion - from every kind of Aspose supported original files, doing instruction document.save(pdf-file) generates PDF files compatible with Adobe PDF reference version 1.7 ?
Thank’s
Hi,
//
load existing PDF file<o:p></o:p>
Document doc = new Document("inputfile.pdf");
doc.Convert(new MemoryStream(), PdfFormat.v_1_7, ConvertErrorAction.Delete);
// save update file
doc.Save("v1.7File.pdf");
Ok but PDF files generated by total Aspose API’s are 1.7 version or i need to convert again with the code you provide?
Let’s say as example An aspose cells document when saving as pdf with doc.Save(outputstream);
will save a 1.7 pdf or other version?
thank you
Hi,
Hi,
// instantiate Document Object<o:p></o:p>
Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Page page = doc.Pages.Add();
//Create an image object
Aspose.Pdf.Image image1 = new Aspose.Pdf.Image();
//Add the image into paragraphs collection of the section
page.Paragraphs.Add(image1);
image1.File = "c:/pdftest/Input_form.png";
doc.Save("c:/pdftest/GIF_to_PDF.pdf");
[Generator]
[C#]
Aspose.Pdf.Generator.Pdf pdf = new Pdf();
pdf.Sections.Add();
pdf.Sections[0].Paragraphs.Add(new Aspose.Pdf.Generator.Text("sample text"));
pdf.Save(“c:/pdftest/GeneratorOutput.pdf”);
[quote user=“codewarior”]Hi,
any news about these tests?
Hi Valerio,
sorry, i didn’t remember other thread: i replied there.
thank’s
Hi Valerio,