# Cancel virtual background

**URL:** <https://devforum.zoom.us/t/cancel-virtual-background/24833>\
**Category:** Windows\
**Created:** [July 22, 2020, 6:19am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833 "2020-07-22T06:19:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiedesheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiedesheng/32/11335_2.png) [@jiedesheng](https://devforum.zoom.us/u/jiedesheng)\
**Post date:** [July 22, 2020, 6:19am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/1 "2020-07-22T06:19:02Z")

</div>

**Description**  
How to cancel the virtual background through the SDK API interface when the virtual background is not needed

**Which version?**  
v4.6.21666.0428

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [August 5, 2020, 5:06am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/2 "2020-08-05T05:06:10Z")

</div>

Hi @jiedesheng,

Thanks for the post and pardon the late response. Is this question for iOS SDK or Windows SDK?

Thanks!

---

<div class="post-metadata">

**Author:** ![jiedesheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiedesheng/32/11335_2.png) [@jiedesheng](https://devforum.zoom.us/u/jiedesheng)\
**Post date:** [August 20, 2020, 1:42am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/3 "2020-08-20T01:42:54Z")

</div>

windows SDK. windows SDK.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [August 21, 2020, 3:24am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/4 "2020-08-21T03:24:08Z")

</div>

Hi @jiedesheng,

To cancel the virtual background, you could use the interface `virtual SDKError UseBGImage(IVirtualBGImageInfo* pImage)` in `setting_service_interface.h` and pass an empty string as the filePath to the parameter `pImage`.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![jiedesheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiedesheng/32/11335_2.png) [@jiedesheng](https://devforum.zoom.us/u/jiedesheng)\
**Post date:** [October 13, 2020, 5:59am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/5 "2020-10-13T05:59:25Z")

</div>

thank you very much!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 17, 2020, 2:30am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/6 "2020-10-17T02:30:34Z")

</div>

Glad to be helpful. I will go ahead and close this thread. Please feel free to create another post if any other questions. 🙂

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 17, 2020, 2:30am UTC](https://devforum.zoom.us/t/cancel-virtual-background/24833/7 "2020-10-17T02:30:36Z")

</div>

Closed on October 17, 2020, 2:30am UTC


