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 Aug 17, 2018 9:57 am

If you provide the BackColor propery of textbox control then after print you cannot view the back color.
var textBoxField = pdfField as PdfTextBoxFieldWidget;
textBoxField.BackColor = Color.Red;


Printing Code ---
MemoryStream sm = new MemoryStream();
doc.SaveToStream(sm, FileFormat.PDF);

doc.Print();

nagtilaklaxman
 
Posts: 3
Joined: Thu Jul 19, 2018 1:03 pm

Fri Aug 17, 2018 10:56 am

Hello Laxman,

Thanks for your inquiry.
After investigation, I didn't reproduce your issue. Could you please share your test pdf file to help us reproduce your issue?
Thank you in advance.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3044
Joined: Wed Jun 27, 2012 8:50 am

Tue Aug 21, 2018 5:48 am

Hello Laxman,

Greetings from E-iceblue.
How is the issue now ? If it still exists, please share your pdf file for better investigation.
Thank you in advance.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3044
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF