# DisableViewerAnnotation Returns Value 24

**URL:** <https://devforum.zoom.us/t/disableviewerannotation-returns-value-24/74444>\
**Category:** Windows\
**Created:** [August 18, 2022, 2:18am UTC](https://devforum.zoom.us/t/disableviewerannotation-returns-value-24/74444 "2022-08-18T02:18:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VideoPro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/videopro/32/40603_2.png) [@VideoPro](https://devforum.zoom.us/u/VideoPro)\
**Post date:** [August 18, 2022, 2:18am UTC](https://devforum.zoom.us/t/disableviewerannotation-returns-value-24/74444/1 "2022-08-18T02:18:39Z")

</div>

Hi Engineer,  
I am a C# developer.I got a problem with function of DisableViewerAnnotation . I can confirm that the Switch Button status on the Management Webpage is on . But I always got the return value 24 when I try with function of DisableViewerAnnotation(SDKViewType.SDK\_FIRST\_VIEW, false/true) in my code . I retrieval the value 24 of SDKError ,that is “Annotation is off”. As the same time the other Function of CanDisableViewerAnnotation returns “true” . Did I miss anything Important?  
By the way, In Version 5.5 it works well, But this happened in Version 5.9 later。  
Hopping your feedback.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 17, 2022, 12:19pm UTC](https://devforum.zoom.us/t/disableviewerannotation-returns-value-24/74444/2 "2022-09-17T12:19:23Z")

</div>

Closed on September 17, 2022, 12:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
