API change in 9.2

Hi,

I’n trying to use the new version 9.2. I noticed that the save method and saveoptions have changed. I have two questions regarding these changes.
1: Do you know how I can save to a stream and specify both the SaveFormat and the PdfSaveOptions?
2: Do you know if I can specify both the LegacyPdfSaveOptions and the PdfSaveOptions?

Best regards,
Chris Vrolijk

Hi
Thanks for your request.

  1. You can try specifying SaveFormat for PdfSaveOptions, please see the following code example:
Document doc = new Document(@"Test006\in.doc");
PdfSaveOptions opt = new PdfSaveOptions();
opt.SaveFormat = SaveFormat.Pdf;
MemoryStream stream = new MemoryStream();
doc.Save(stream, opt);
  1. There is no way to specify both of these options together. You should note that we will exclude legacy method of PDF conversion in one of our future versions.

Best regards,