Hello,
A simple question …
I want to convert a multi pages PDF’s file (by the way orignal format is RTF) to JPEG. A this point Aspose can only generate the first page of this doc.
Have you got any solution for me ?
Best regards,
Hello,
Hi,
Document document = new Document(@“C:\test\In.rtf”);<o:p></o:p>
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.Jpeg);
options.PageCount = 1;
// Save each page of the document as Jpeg.
for (int i = 0; i < document.PageCount; i++)
{
options.PageIndex = i;
document.Save(string.Format(@"C:\test\out_{0}.jpg", i), options);
}
OMG !
ooops,
Hi,
document.save(new String(file +
i + “.jpg”).toString(), options.getSaveFormat());<o:p></o:p>
Perfect !