Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Jan 03, 2020 8:16 am

how can i change bg color of existing multiple pdf file ..kindly share code with me

ZARA_kHAN
 
Posts: 1
Joined: Fri Jan 03, 2020 7:59 am

Fri Jan 03, 2020 9:04 am

Hi,

Thanks for your inquiry.
Please try to use following code:
Code: Select all
doc.Pages[0].BackgroundColor = Color.Yellow;

If there is still the issue, please share your input document and expected document for further investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF

cron