:orphan:
# ISViewFromOptions
View an `IS` based on options in the options database
## Synopsis
```
#include "petscis.h"
PetscErrorCode ISViewFromOptions(IS A, PetscObject obj, const char name[])
```
Collective
## Input Parameters
- ***A -*** the index set
- ***obj -*** Optional object that provides the prefix for the options database
- ***name -*** command line option
## Note
See `PetscObjectViewFromOptions()` for possible `PetscViewer` and `PetscViewerFormat` values
## See Also
`IS`, `ISView()`, `PetscObjectViewFromOptions()`, `ISCreate()`
## Level
intermediate
## Location
src/vec/is/is/interface/index.c
## Examples
src/snes/tutorials/ex13.c
src/vec/vec/utils/tagger/tutorials/ex1.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/interface/index.c)
[Index of all IS routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)