PDF highlights are incorrect after using ResizeContents

Hi Aspose team!

We are currently using 21.11.0, and are looking to buy a new license to 25.1.0 version of Aspose.PDF for .NET.
However, I tried testing the workflow with the free demo of 25.1.0, and there are some issues that hinder the functionality.

The bug is as following:
After resizing, highlights seem to shrink or even disappear depending on how much space is added (see yellow highlight on 2nd image)

I am using ResizeContents method:

PdfFileEditor fileEditor = new PdfFileEditor();
PdfFileEditor.ContentsResizeParameters parameters = new PdfFileEditor.ContentsResizeParameters(
	PdfFileEditor.ContentsResizeValue.Units(0),
	null,
	PdfFileEditor.ContentsResizeValue.Units(0),
	PdfFileEditor.ContentsResizeValue.Units(headerHeight),
	PdfFileEditor.ContentsResizeValue.Percents(100),
	PdfFileEditor.ContentsResizeValue.Units(footerHeight)
);
fileEditor.ResizeContents(Document, new [] { PageNumber }, parameters);

This is a critical functionality for us, can you please provide us with any solution or timeline for it?

Thanks for any assistance.
image.png (327.7 KB)
image.png (306.7 KB)

@kat321
We are looking into your question and will write to you shortly.

@kat321
Please attach the original pdf document to reproduce and study the problem.

here is the original pdf with highlights
original.pdf (59.6 KB)

@kat321
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): PDFNET-59179

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.

Hello, just checking in - any updates on this issue? Do you have an estimated timeline for a fix?
Thanks!

@kat321
Nothing new for this task yet. Created tasks are solved in the order they are received, taking into account priorities.
The highest priority is for tasks with paid support, followed by tasks from users who have purchased a license.
The time it takes to solve problems can also vary. Therefore, unfortunately, it is not even possible to give ETA.