Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Change Background Color in PDFViewAct 7 years 5 months ago #11396

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • 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 7 years 5 months ago #11402

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

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

Change Background Color in PDFViewAct 7 years 5 months ago #11404

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • 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 7 years 5 months ago #11405

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • 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