# PetscViewerRegisterAll
Registers all of the viewer methods in the `PetscViewer` package. 
## Synopsis
```
#include "petscsys.h" 
PetscErrorCode PetscViewerRegisterAll(void)
```
Not Collective




## See Also
 [](sec_viewers), `PetscViewer`

## Level
developer

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


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


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