Change Highlight Color

How to change HighLightColor to Light Red color?

I tried ‘HighlightColor = System.Drawing.Color.LightCoral’,
but it’s still the same color with ‘HighlightColor = System.Drawing.Color.Red’.

Thank you

@nguyentruc

Could you please share following details:

  • API platform (e.g. Java, .NET) and version
  • Complete comparison code
  • Source and target files
  • Using .NET Framework 4.8
  • Input file:
    text.docx (11.5 KB)

text1.docx (11.5 KB)

Output file:
a.docx (11.1 KB)

  • My code:
    using (Comparer comparer = new Comparer(source))
    {
    comparer.Add(target);

              // Options for Group Docs API
              CompareOptions compareOptions = new CompareOptions()
              {
                  CalculateCoordinates = true,
                  MarkChangedContent = true,      // Fill color image outline
                  DetectStyleChanges = true,      // Detect style change
                  ShowDeletedContent = true,
                  ShowInsertedContent = true,
                  InsertedItemStyle = new StyleSettings()
                  {
                      HighlightColor = System.Drawing.Color.Turquoise,
                      FontColor = System.Drawing.Color.Turquoise,
                      IsBold = true,
                      IsItalic = true,
                  },
                  DeletedItemStyle = new StyleSettings()
                  {
                      HighlightColor = System.Drawing.Color.LightCoral,
                      FontColor = System.Drawing.Color.Red,
                      IsBold = true,
                      IsItalic = true,
                  },
                  ChangedItemStyle = new StyleSettings()
                  {
                      HighlightColor = System.Drawing.Color.Yellow,
                  },
                  GenerateSummaryPage = true,
                  ExtendedSummaryPage = true,
                  CompareVariableProperty = true,
                  //CompareDocumentProperty = true,
                  CompareBookmarks = true,
                  //SensitivityOfComparison = 100,
                  HeaderFootersComparison = true,
                  DetalisationLevel = DetalisationLevel.High,
                  MarkNestedContent = true,
                  WordTrackChanges = false,
                  ShowRevisions = true,
                  LeaveGaps = true,
              };
              // Start compare with options
              comparer.Compare(outPut, compareOptions);
    
1 Like

@nguyentruc
This issue is reproduced at our end. Therefore, we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): COMPARISONNET-3908

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Has this issue been fixed yet? I purchased a GroupDocs.Comparison for .NET (OEM Developer) license. This issue will have a major impact on how our project develops. My customers are complaining about this problem

@tronghieu88

Sorry for the inconvenience but this ticket is still under investigation. However, we’ll notify you in case of any update.

Your timely response is invaluable to us. This data is essential for the successful culmination of our project, which is facing heightened demands from our clientele. The significance of resolving this issue promptly cannot be overstated, as it has a direct bearing on our reputation with customers. Thus, a swift resolution is imperative.

1 Like

@tronghieu88

This ticket is expected to be resolved in Version 24.4, which is anticipated to be released by the end of April 2024.

The urgency of solving this issue cannot be emphasized enough. Its repercussions on our project have been substantial, underscoring the necessity for a speedy resolution.

@tronghieu88

Rest assured, we understand the urgency and are working diligently to provide a swift resolution.

Is there assurance that version 24.4 provides the solution needed for this problem and will indeed be rolled out by the end of April?

@tronghieu88

We are diligently working to resolve the issue in version 24.4. If any issue occurs under any worst case circumstances, we will provide a hotfix.

Thank you. I eagerly anticipate receiving news about the 24.4 update by the end of April at the earliest opportunity. I remain optimistic that this update will effectively address the issue I’m currently encountering.

1 Like

@tronghieu88

This particular issue is already resolved and will be delivered in 24.4 release.

The issues you have found earlier (filed as COMPARISONNET-3908) have been fixed in this update. This message was posted using Bugs notification tool by anton.samarskyy

Thanks for version 24.4 which resolved this issue

@tronghieu88

Glad to know that the issue is fixed.