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

TOPIC:

How to render a page after changing fill color? 8 years 10 months ago #9128

  • adimha
  • adimha's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I need to change color of a note annotation in a PDF page.
Therefore i used m_annot.SetFillColor(Color.GREEN);
I used m_reader.invalidate(); but it does not change its color..however when i reopen the pdf the color would get changed. Same applies if i scroll down to the bottom and come up again only to see the color getting changed.
How to change the color immediately?

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

How to render a page after changing fill color? 8 years 10 months ago #9143

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you should use:
vRenderAsync(PDFVPage page)
or
RenderToBmp(Bitmap bitmap)
or
ObjsStart()

Here you can find more info about RenderAsync , RenderToBmp , ObjsStart .
The following user(s) said Thank You: adimha

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

How to render a page after changing fill color? 8 years 10 months ago #9147

  • adimha
  • adimha's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
it's wokring !
m_view.vRenderAsync() i used

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

  • Page:
  • 1
Powered by Kunena Forum