SavedView Class

SavedView class. Used to serialize/deserialize a ViewState.

Methods

Name Description
constructor(): SavedView    
emphasizeElementsFromProps(vp: ScreenViewport, savedViewProps: SavedViewProps): boolean Static Apply EmphasizeElements from the SavedView  
emphasizeElementsToProps(vp: ScreenViewport, savedViewProps: SavedViewProps): void Static Create props for an EmphasizeElements and store in SavedViewProps  
viewStateFromProps(iModelConnection: IModelConnection, savedViewProps: SavedViewProps): Promise<undefined | ViewState> Static Create a ViewState from the SavedView  
viewStateToProps(viewState: ViewState): SavedViewProps Static Create props for a ViewState  

Defined in

Last Updated: 11 June, 2024