VintaSoft Twain .NET SDK Discussions
Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.
Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions
Help documentation example gives me error “ImageFileFormat is undefined”Your code has 3 mistakes:
if (acquireModalState == 2)
{
if (firstImage)
{
// get the first acquired image as PDF stored in the memory
mem = device.AcquiredImage[0].GetAsStream(5);
firstImage = false;
}
else
{
// add each (not first) acquired image to PDF stored in the memory
device.AcquiredImages.Last.SaveToStream(mem, 5);
}
}
Best regards, Alexander