:orphan:
# PetscOptionsPopGetViewerOff
reset whether `PetscOptionsGetViewer()` returns a viewer. 
## Synopsis
```
#include "petscviewer.h" 
PetscErrorCode PetscOptionsPopGetViewerOff(void)
```
Logically Collective




## Note
See `PetscOptionsPushGetViewerOff()`


## See Also
 [](sec_viewers), `PetscOptionsGetViewer()`, `PetscOptionsPushGetViewerOff()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/interface/viewreg.c.html#PetscOptionsPopGetViewerOff">src/sys/classes/viewer/interface/viewreg.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/interface/viewreg.c)


[Index of all Viewer routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
