We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Editing the accessibility tagging of an existing PDF

I'm trying to edit the accessibility tagging of an existing pdf using the examples in https://help.syncfusion.com/file-formats/pdf/working-with-tagged-pdf, but the document's tags don't seem to change. I can add elements to the pdf's content, but nothing changes in the tag tree when viewing in Adobe Acrobat.

Am I missing something here, or is this not possible? I know you can create a new tagged PDF, but not edit one?

Thank you,

My code:

PdfLoadedDocument document = new PdfLoadedDocument(fileName);

PdfStructureElement rootElement = document.StructureElement;

rootElement.TagType = PdfTagType.HeadingLevel1;

foreach (var child1 in rootElement.ChildElements)


child1.TagType = PdfTagType.HeadingLevel1;

child1.AlternateText = "test";

child1.ActualText = "test";




1 Reply

IJ Irfana Jaffer Sadhik Syncfusion Team April 13, 2023 02:38 PM UTC

We do not have support to modify the tags in the PDF document. As of now, we do not have any immediate plans to implement this feature and we will implement this support in any of our upcoming releases. We usually have an interval of at least three months between releases, at the planning stage of every release cycle, we will review all the open features and we will notify you once this support is included.

You can use the below feedback to track the status of this support,


Live Chat Icon For mobile
Up arrow icon