ViewStateHelper Class
SavedView class. Used to serialize/deserialize a ViewState.
Methods
Name | Description | |
---|---|---|
constructor(): ViewStateHelper | ||
emphasizeElementsFromProps(vp: ScreenViewport, savedViewProps: ViewStateHelperProps): boolean Static | Apply EmphasizeElements from the SavedView | |
emphasizeElementsToProps(vp: ScreenViewport, savedViewProps: ViewStateHelperProps): void Static | Create props for an EmphasizeElements and store in SavedViewProps | |
viewStateFromProps(iModelConnection: IModelConnection, savedViewProps: ViewStateHelperProps): Promise<undefined | ViewState> Static | Create a ViewState from the SavedView | |
viewStateToProps(viewState: ViewState): ViewStateHelperProps Static | Create props for a ViewState |
Defined in
Last Updated: 30 November, 2023