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
9 years 10 months 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
9 years 10 months ago #11402 by jorisk
UP please
More
9 years 10 months 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
9 years 10 months ago #11405 by jorisk
Thank you very much Davide, it works perfectly!
Time to create page: 0.403 seconds
Powered by Kunena Forum