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 : Tuesday, October 2, 2018 8:09:18 PM(UTC)
Vicki2018

Groups: Registered
Posts: 29

Thanks: 3 times

How can I set the file location for "saveToCache"?
 

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.

#2 Posted : Wednesday, October 3, 2018 7:22:55 AM(UTC)
Christopher

Groups: Registered, Tech Support, Administrators
Posts: 89

Was thanked: 4 time(s) in 4 post(s)

Hi Vicki
The saveToCache() method does not intend for you to save to a specified file path location on the disk.
This method is intended for the document to be saved in your cache and utilized to call the document without having a saved file location.

I have included a link to the saveToCache() method here:
And we have a code example of how to implement this in the DocumentId Property.

If you would like to save to disk, then you should take a look at the Save() method that is part of the RasterCodecs Class.
Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
thanks 1 user thanked Christopher for this useful post.
Vicki2018 on 10/4/2018(UTC)
 
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.068 seconds.