Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, January 19, 2018 4:15:53 PM(UTC)
Anthony Northrup

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.

File Attachment(s):
File Cache - Document Viewer Wpf.zip (1,956kb) downloaded 97 time(s).

Edited by moderator Wednesday, December 5, 2018 5:33:17 PM(UTC)  | Reason: Not specified

Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.038 seconds.