- Posts: 13
- 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
Caching of data
- Semenovich
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
11 years 10 months ago #6621
by Semenovich
Caching of data was created by Semenovich
I need to cache some data (fonts for example) when I switch between pdf documents. Can I do this with your library API? What does the method Document.SetCache() doing?
IP: 192.168.0.158
11 years 9 months ago #6626
by nermeen
Replied by nermeen on topic Caching of data
no, you need to implement it your self.
SetCache, is used internally to save temp data while rendering (e.x. compressed images) and these data is deleted when the document is closed.
SetCache, is used internally to save temp data while rendering (e.x. compressed images) and these data is deleted when the document is closed.
- williams_edward7
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
IP: 192.168.0.71
11 years 9 months ago #6661
by williams_edward7
Replied by williams_edward7 on topic Caching of data
Is caching turned on by default? I want to be able to open a pdf entirely in memory without having cached data written to the device.
IP: 192.168.0.71
11 years 9 months ago #6662
by radaee
Replied by radaee on topic Caching of data
SetCache is just used for created images/fonts/and some import page data.
other words: SetCache are just for some new objects, that added to document.
you can use PDFMemStream and Document.OpenStream();
or can use Document.OpenMem();
other words: SetCache are just for some new objects, that added to document.
you can use PDFMemStream and Document.OpenStream();
or can use Document.OpenMem();
Time to create page: 0.566 seconds