Caching of data - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Caching of data

Caching of data 4 years 4 months ago #6621

  • Semenovich
  • Semenovich's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
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?

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

Caching of data 4 years 4 months ago #6626

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
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.

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

Caching of data 4 years 4 months ago #6661

  • williams_edward7
  • williams_edward7's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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.

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

Caching of data 4 years 4 months ago #6662

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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();

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

  • Page:
  • 1
Powered by Kunena Forum