Saves all images, caches, texts and thumbnails size in the specified stream or file.
This is useful to create caching mechanism like Windows .db files, to load quickly an entire directory of images.
You can reload a saved snapshot using LoadSnapshot.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void SaveSnapshot( string fileName, bool saveCache, bool compressed, bool saveParams )
Public Sub SaveSnapshot ( _ fileName As String, _ saveCache As Boolean, _ compressed As Boolean, _ saveParams As Boolean _ )
public: void SaveSnapshot( String^ fileName, bool saveCache, bool compressed, bool saveParams )
Parameters
- fileName
- String
The output file name.
- saveCache
- Boolean
If SaveCache is true (default) the image caches are saved. This speedup display but require more space.
- compressed
- Boolean
If Compressed is true an LZ compression algorithm is applied. This reduces space but slowdown saving.
- saveParams
- Boolean
If SaveParams is true input/output parameters and tags are saved.