LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Load Documents from a FileCache for Wpf
#1
Posted
:
Friday, January 19, 2018 4:15:53 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Attached is a sample C# project that uses the Leadtools.Document.Viewer.Wpf NuGet from LEADTOOLS. This project uses the FileCache to store save a copy of files loaded, as well as an association of paths (file paths, or URLs) to document IDs by hashing the path with MD5. If a document is already cached (the path hash can be found in the lookup table), it will load using the LoadFromCache method of the DocumentFactory, otherwise it will load using LoadFromFile or LoadFromUri (for files or URLs respectively). The project also displays the documents using the DocumentViewer’s SetDocument method using Wpf.
Edited by moderator Wednesday, December 5, 2018 5:33:17 PM(UTC)
| Reason: Not specified
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Load Documents from a FileCache for Wpf
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.