API Reference > frontend-devTools > Tools > toggleProjectExtents toggleProjectExtents Function Beta Enable or disable the project extents decoration. This decoration draws a box coinciding with the iModel's project extents. toggleProjectExtents(imodel: IModelConnection, enabled?: boolean): boolean Parameter Type Description imodel IModelConnection The iModel from which to obtain the extents. enabled boolean Returns - boolean true if the extents are now ON, false if they are now OFF. Defined in frontend-devtools/src/tools/ProjectExtents.ts Line 87 Last Updated: 12 June, 2024