API Reference > imodeljs-frontend > Views > ViewManager > forEachViewport forEachViewport Method Deprecated Use a for..of loop. Call the specified function on each Viewport registered with the ViewManager. forEachViewport(func: (vp: ScreenViewport) => void): void Parameter Type Description func (vp: ScreenViewport) => void Returns - void Defined in core/frontend/src/ViewManager.ts Line 327 Last Updated: 12 June, 2024