Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Change Background Color in PDFViewAct

More
10 years 2 weeks ago #11396 by jorisk
Hello,

In PDFReader.java, I succeeded in changing the background color by setting the "back_color" var before the view was opened:
m_view.vOpen(m_doc, 4, back_color, this);

Now I would like to do the same in the PDFViewAct / PDFViewController / PDFLayoutView files. Is it possible?

Thanks by advance!
More
10 years 2 weeks ago #11402 by jorisk
UP please
More
10 years 2 weeks ago #11404 by Davide
Hi,
yes you can set the background color even with the RDPDFReader module.
I suggest you to use the following method in PDFSetView of PDFLayoutView class
Code:
m_layout.vSetBackColor(int color);
More
10 years 2 weeks ago #11405 by jorisk
Thank you very much Davide, it works perfectly!
Time to create page: 0.364 seconds
Powered by Kunena Forum