VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
{
"files": null,
"success": false,
"blocked": false,
"errorMessage": "Data storage item key is not correct. (Parameter 'key')\r\n",
"requestId": null
}
Above is called when i give file to image viewerimageViewer.get_Images().openFile("C://Jwalit//Sample Files//24521447.tif");
Above is working properly in 12.2.11protected override IDataStorage CreateSessionDataStorage(string sessionId)
{
if (sessionId == null)
{
if (IsEmptySessionSupported)
sessionId = "";
else
throw new ArgumentNullException("sessionId");
}
string path = Path.Combine("C://Jwalit//Sample Files", sessionId);
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
return new StreamDataStorage(path);
}
{
"files": null,
"success": false,
"blocked": false,
"errorMessage": "File \"24521447.tif\" is not found.\r\n",
"requestId": null
}
i have also made changes in openfile as belowimageViewer.get_Images().openFile("24521447.tif");
let me know if any changes need