Profile Picture

Stream video beneath or in Diagram control

Posted By Morgan Ganerod 3 Years Ago
Author
Message
Morgan Ganerod
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 3, Visits: 45
Hi there. I'm playing around with NDrawingView and NDrawingDocument to investigate if I can use those controls in an application im creating. The basic idea is to get a video stream from a microscope camera, equiped with a motorized stage, and display the stream in that control so that I can use the build in GIS functionality to draw lines etc. If some of you have tips or experience with this, I would be happy to learn from you. 

Optimistic regards
Morgan  

Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)

Group: Forum Members
Last Active: 4 days ago @ 7:16 AM
Posts: 3,045, Visits: 3,786
Hello,

You can embed a WinForms control that displays the video in a Nevron Diagram shape. Please take a look at the following documentation topic for information how to embed a WinForms control in a Diagram shape:

WinForm Control Host Shape


Best Regards,
Nevron Support Team



Morgan Ganerod
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 3, Visits: 45
Hi, thanks for your help. I followed your suggestion and I manage to get it to work. I have some questions.
Are there other ways?
Is it possible to put that shape under the grid lines in the drawing view?
Is it possible to make it static, not moveable when using the hand? Sorry my bad english Smile

Optimistic regards


Nevron Support
This post has been flagged as an answer
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)Supreme Being (4,352 reputation)

Group: Forum Members
Last Active: 4 days ago @ 7:16 AM
Posts: 3,045, Visits: 3,786
Hi,

Regarding your questions:

Are there other ways?
No, the WinForms control hosting is the only way to embed a video into the diagram, currently.

Is it possible to put that shape under the grid lines in the drawing view?
This is currently not possible.

Is it possible to make it static, not moveable when using the hand?
Yes, you can do any of the following:
  1. Set the DeactiveOnLostFocus property of the control hosting shape to false - see the Document Object Model > Shapes > WinForm Control Hosting example that comes with Nevron Diagram for .NET or
  2. Set the necessary shape protections - see the following documentation topic: Shape Protections.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic