API Reference > imodeljs-frontend > Views > OffScreenViewportOptions OffScreenViewportOptions Interface Options supplied when creating an OffScreenViewport. see OffScreenViewport.create. Properties Name Type Description lockAspectRatio undefined | boolean If true, the viewport's aspect ratio will remain fixed. view ViewState The view to be drawn in the viewport. viewRect ViewRect The dimensions of the viewport. Defined in core/frontend/src/Viewport.ts Line 3321 Last Updated: 12 June, 2024