- Posts: 15
- Thank you received: 0
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
Document.NewImage always return true
IP: 89.190.191.227
6 years 5 months ago #14571
by Righetti
Replied by Righetti on topic Document.NewImage always return true
I use "document.OpenMem".
I follow the sample that U suggest me.
I follow the sample that U suggest me.
IP: 111.196.247.207
6 years 5 months ago #14572
by radaee
Replied by radaee on topic Document.NewImage always return true
yes, that is the problem.
Document.OpenMem() is readonly.
Document.OpenMem() is readonly.
IP: 89.190.191.227
6 years 5 months ago #14573
by Righetti
Replied by Righetti on topic Document.NewImage always return true
I have a byte[], from db internal storage, how I do to open a PDF in writable mode?
IP: 37.183.44.177
6 years 5 months ago #14574
by support
Replied by support on topic Document.NewImage always return true
Now it's clear.
PDF loaded in byte[] aren't writable (after modification the size would change and it would rise to a memory exception).
You should use a stream or a temporary file: the second is much simpler.
PDF loaded in byte[] aren't writable (after modification the size would change and it would rise to a memory exception).
You should use a stream or a temporary file: the second is much simpler.
IP: 89.190.191.227
6 years 5 months ago #14575
by Righetti
Replied by Righetti on topic Document.NewImage always return true
Ok thanks now I can see the image (not during the zooming).
I doesn't understand the Matrix parameters for positioning correctly my image in x, y point of PDF, can U help me?
I doesn't understand the Matrix parameters for positioning correctly my image in x, y point of PDF, can U help me?
IP: 89.190.191.227
6 years 5 months ago #14576
by Righetti
Replied by Righetti on topic Document.NewImage always return true
Ok I understand, the matrix parameters use. Thanks in advance
Only one more thing, I use PDFPageView for renderise pdf like your sample, I have to find the way to refresh the page after insert a image.
Now I can view the inserted image only after zooming action and during the zooming action the image was hidden.
How to refresh page and view image during zooming action?
Only one more thing, I use PDFPageView for renderise pdf like your sample, I have to find the way to refresh the page after insert a image.
Now I can view the inserted image only after zooming action and during the zooming action the image was hidden.
How to refresh page and view image during zooming action?
Time to create page: 0.373 seconds