Hello,
in our project we convert word documents to pdf files like below (HideComments is set to true):
using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.Options.Load;
var inputFilePath = args[0];
var outputFilePath = args[1];
using var converter = new Converter(
() => File.OpenRead(inputFilePath),
() => new WordProcessingLoadOptions
{
HideComments = true,
HideWordTrackedChanges = true
});
converter.Convert(() => File.OpenWrite(outputFilePath), new PdfConvertOptions());
But when converting a word document with comments, the comments are still visible in the created PDF file. In the example above I used GroupDocs.Conversion version 22.7.0.
Is this a bug or are other settings necessary so that the comments disappear?
Kind regards,
Fabian
WordWithComments.docx (17.4 KB)