Shape of webcam

1 Answer 51 Views
ShapedForm WebCam
Kobus
Top achievements
Rank 1
Iron
Kobus asked on 17 Dec 2021, 01:13 PM

Hi.

 

I wonder if it is possible to put the video in a shape, like a circle. I also want to know if it is possible to hide all the controls at the bottom.?

 

 

 

Regards

 

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 22 Dec 2021, 10:01 AM

Hi Kobus,

Thank you for your interest in our RadWebCam control for WinForms.

The control does not provide custom shapes for its container. However, you could achieve a similar effect using custom code. What you can do is add the RadPanel element. Set is ApplyShapeToControl property to true and use one of its predefined shapes for the Shape property of the panel. I have prepared a sample project to demonstrate what I have in mind.

As for your second question, you can set the ControlPanelHeight property of the RadWebCam to 0 to hide the bottom panel holding the buttons.

I hope this information is helpful.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ShapedForm WebCam
Asked by
Kobus
Top achievements
Rank 1
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or