Button content not into NormalCaption or AlternateName

Hi Support,

I have a issue with this pdf :

formpdftron.pdf (1.3 MB)

I have two buttons named “reset”. I can’tretrieve the content in normalCaption property or AlternateName.
for the first button, I seek “RESET FIELD” content.
The second one, “RESET”.

Have you any advice to retrieve this ?

Thanks in advance.

@Tenjim

Could you please provide the code you are using to retrieve the button content from the PDF?

Document pdfDocument = new Document(@“…\formpdftron.pdf”);

Field[] pdfForm = pdfDocument.Form.Fields;

foreach (var field in pdfForm)
{
if (field.FullName == “reset” && field is ButtonField btn)
{
var alternateName = btn.AlternateName;
var normalCaption = btn.NormalCaption;
}
}

I know the two buttonfield are in a collection of widget annotation and I can’t see where the content are store with aspose.

@Tenjim

Have you checked in Adobe Reader that against which fields these values are present for the button? Can you please share the screenshot?

As I said before,

this is what I see in adobe reader for these buttons :

image.png (1.1 KB)

image.png (1.2 KB)

I can’t see that content with aspose.

@Tenjim

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-60041

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.

More info on that issue, I have found that content into the pdf file, it’s into the MK dictionnary from widget annotation and the Caption (/CA) is what I want :

image.png (4.6 KB)

How can we retrieve with aspose ? I don’t see anything accessible into WidgetAnnotation property

@Tenjim

Thanks for sharing more information about the issue. We have updated the ticket information accordingly and will perform investigation from this perspective as well. As soon as we make some progress towards ticket resolution, we will surely inform you. Please be patient and spare us some time.

We are sorry for the inconvenience.