Stream video beneath or in Diagram control


Author
Message
Morgan Ganerod
Morgan Ganerod
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
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  
Replies
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Morgan Ganerod
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search