Search found 3 matches

by serrut
Fri Jun 07, 2013 3:01 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Usage of streams
Replies: 3
Views: 2604

Re: Usage of streams

I also want to notice we add ImageViewer's dynamically to our VB.NET application form. Images are retrieved from a scanner, or a file import (PDF for example). I just created a test project which has a form and a button "btnAddImageViewer". When you click the button, the application will crash => "C...
by serrut
Fri Jun 07, 2013 2:41 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Usage of streams
Replies: 3
Views: 2604

Re: Usage of streams

Hi Alex, Thank you for your answer. Your code helps me to not store the stream in my object, which I like. BUT ... if I have 100 ImageViewers, I still have 100 file streams open. Right? I have always learned to close a stream as soon as possible. If you want to modify again, just initialize (open) t...
by serrut
Fri Jun 07, 2013 12:04 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Usage of streams
Replies: 3
Views: 2604

Usage of streams

Hi, What is the best practise for viewing & modifying images in a Vintasoft ImageViewer component? Do I need to keep the stream to the image open or close it? In the documentation I found following code: Dim images As ImageCollection = New ImageCollection() Dim fStream As FileStream = New FileStream...