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

How to render a page after changing fill color?

More
11 years 2 months ago #9128 by adimha
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?
More
11 years 2 months ago #9143 by Davide
Hi,
you should use:
Code:
vRenderAsync(PDFVPage page)
or
Code:
RenderToBmp(Bitmap bitmap)
or
Code:
ObjsStart()

Here you can find more info about RenderAsync , RenderToBmp , ObjsStart .
More
11 years 2 months ago #9147 by adimha
it's wokring !
m_view.vRenderAsync() i used
Time to create page: 0.403 seconds
Powered by Kunena Forum