# WPF Display example of what it is possible to do with overlays

**URL:** <https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353>\
**Category:** Programming Questions\
**Created:** [February 20, 2021, 6:51pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353 "2021-02-20T18:51:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikael](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Post date:** [February 20, 2021, 6:51pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353/1 "2021-02-20T18:51:53Z")

</div>

Hello,  
Do you have an sample of what it is possible to do with the CVB WPF display with the overlays?  
I mean the equivalent of VCOverlayObjects.exe sample (ocx based one).  
The documentation is not really clear and has no sample.  
Maybe it is not finished yet.  
Best regards,  
Mikael.

---

<div class="post-metadata">

**Author:** ![Diverl](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/diverl/32/434_2.png) [@Diverl](https://forum.commonvisionblox.com/u/Diverl)\
**Post date:** [February 22, 2021, 2:25pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353/2 "2021-02-22T14:25:08Z")

</div>

Hi Mikael,

we have a documentation in our [Online Reference](https://help.commonvisionblox.com/NextGen/14.0/cvbnet/d4/d8a/namespace_stemmer_1_1_cvb_1_1_wpf_1_1_overlays.html). Is this the information you are missing?

Best regards,  
Bea

---

<div class="post-metadata">

**Author:** ![Mikael](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Post date:** [February 22, 2021, 2:46pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353/3 "2021-02-22T14:46:27Z")

</div>

Hello,

> we have a documentation in our [Online Reference](https://help.commonvisionblox.com/NextGen/14.0/cvbnet/d4/d8a/namespace_stemmer_1_1_cvb_1_1_wpf_1_1_overlays.html). Is this the information you are missing?  
> No, in fact, I tried with the documentation but I didn’t manage to use it. I just tried to add an AOI rect at a specified position → no success.

For c++, there is this sample that shows a wide range of all the overlays:  
%CVB%\Tutorial\Image Manager\VC\VCOverlayObjects

But there is no sample for te WPF display that implements ALL the overlays that can be used.

Regards,

Mikael.

---

<div class="post-metadata">

**Author:** ![Diverl](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/diverl/32/434_2.png) [@Diverl](https://forum.commonvisionblox.com/u/Diverl)\
**Post date:** [February 22, 2021, 3:08pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353/4 "2021-02-22T15:08:40Z")

</div>

Hi Mikael,  
I am sorry, that we do not have examples for all cases. If you have issues with particular functions, please ask, maybe with sample code, which will help us narrowing down the issue.  
Best regards,  
Bea

---

<div class="post-metadata">

**Author:** ![Mikael](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mikael](https://forum.commonvisionblox.com/u/Mikael)\
**Post date:** [February 22, 2021, 4:12pm UTC](https://forum.commonvisionblox.com/t/wpf-display-example-of-what-it-is-possible-to-do-with-overlays/1353/5 "2021-02-22T16:12:50Z")

</div>

Ok thanks,

> I am sorry, that we do not have examples for all cases.  
> To my mind, witout sample, the documentation is not sufficient enough.

> If you have issues with particular functions, please ask, maybe with sample code, which will help us narrowing down the issue.  
> I tested it 2 months ago. I’m not sure I kept the sample. i will have a look.

Best regards,  
Mikael.
