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: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.