Change Background Color in PDFViewAct - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Change Background Color in PDFViewAct

Change Background Color in PDFViewAct 2 years 1 week ago #11396

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
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!

Please Log in or Create an account to join the conversation.

Change Background Color in PDFViewAct 2 years 1 week ago #11402

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
UP please

Please Log in or Create an account to join the conversation.

Change Background Color in PDFViewAct 2 years 6 days ago #11404

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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
m_layout.vSetBackColor(int color);
The following user(s) said Thank You: jorisk

Please Log in or Create an account to join the conversation.

Change Background Color in PDFViewAct 2 years 6 days ago #11405

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
Thank you very much Davide, it works perfectly!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum