Hi,
I want to use Ventuz API to do the snapshot with new thread. But when I see the Snapshot Method in Ventuz API there have a "Object asyncState".
I don't know how to define it. So is there any example to tell me how to define the asyncState?
Best Regards
Drac Zhang
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
About Ventuz API
Moderator: Support
Re: About Ventuz API
Hi,
With Visual Basic, i used this code part :
As you can see, i'm not using the asyncState object "yop"
My skills are limited on API coding, but in my case i don't need this object
Hope it helps !
With Visual Basic, i used this code part :
Code: Select all
Dim yop As Object
returnedTaskTResult = clu(clustertoSnap).Snapshot(0, ImageFormat.PNG, 1920, 1080, Nothing, Nothing, Nothing, Nothing, Filter.High, True, yop)
Dim MS = New MemoryStream(returnedTaskTResult.Result)
PictureBox3.Image = Image.FromStream(MS)
My skills are limited on API coding, but in my case i don't need this object
Hope it helps !
Florian
Re: About Ventuz API
Hi florian,
Thanks for answering my question. I will try it to see does it work.
Best Regards
Drac Zhang
Thanks for answering my question. I will try it to see does it work.
Best Regards
Drac Zhang