Unable to change background color of the table in PDF using Aspose

Dear Team,

In one of our requirements we need to change the content & background color of header and footer in the PDF document. The input PDFs are designed in “Adobe InDesign” tool.
We asked the design team to create the header and footer in PDF as tables/shapes. But somehow we are unable change the background color of the shapes/tables in the PDF using Aspose.PDF.

Below are version, sample PDF (created by using “Adobe InDesgin” tool) & Code.

  1. Aspose.PDF - Version 23.6.0 (C#)

  2. Aspose.Pdf.Document doc = new Aspose.Pdf.Document(baseDir + “\InDesign.pdf”);
    Aspose.Pdf.Text.TableAbsorber absorber = new Aspose.Pdf.Text.TableAbsorber();
    absorber.Visit(doc.Pages[0]);
    var tableRef = absorber.TableList[0];
    tableRef.BackgroundColor = Aspose.Pdf.Color.Blue; // unable to identity Background color property

  3. InDesign.pdf (11.5 KB)

Please advise us on how to modify the background color of the PDF’s table/shape

@RaviKumar123

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

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.