SavedView Class

Beta  

SavedView class. Used to serialize/deserialize a ViewState.

Methods

Name Description
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<ViewState | undefined> Static Create a ViewState from the SavedView  
viewStateToProps(viewState: ViewState): SavedViewProps Static Create props for a ViewState  

Defined in

Last Updated: 13 June, 2024