We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

Comments still visible despite using HideComments when converting docx to pdf

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)

1 Like

@famezuehlke

We have logged this issue in our internal issue tracking system with ticket ID CONVERSIONNET-5416. It’ll be now further investigated. You’ll be notified in case of any update.

@Atir_Tahir,
I just saw, that the linked issue (CONVERSIONNET-5416) is marked as resolved. Are there any important updates?

1 Like

@famezuehlke

This issue is resolved in API version 22.8. As the release gets on-board, we’ll notify you.

The issues you have found earlier (filed as CONVERSIONNET-5416) have been fixed in this update. This message was posted using Bugs notification tool by nikola.yankov