Hi,
Im converting a .docx to pdf using the converter but the tracked changes are being lost. Is there something im missing?
code:
try
{
using (var docStream = File.Open(comparedFilePath, FileMode.Open))
{
Func<LoadOptions> loadOptions = () => new WordProcessingLoadOptions
{
HideComments = false,
HideWordTrackedChanges = false
};
var converter = new GroupDocs.Conversion.Converter(() => docStream, loadOptions);
if (!Directory.Exists(directory))
Directory.CreateDirectory(directory);
PdfConvertOptions options = new PdfConvertOptions();
converter.Convert($"{directory}\\{fileName}.pdf", options);
var pdfStream = File.Open($"{directory}\\{fileName}.pdf", FileMode.Open);
if (File.Exists(comparedFilePath))
File.Delete(comparedFilePath);
return new PdfExportResult(pdfStream, $"{directory}\\{fileName}.pdf", $"{directory}\\{fileName}.pdf");
}
}
this is the end result…
image.png (9.9 KB)
expecting to see something like this…
image.png (13.1 KB)
right hand pane with an explanation of formatted changes is not shown
any help is appreciated
Thanks