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?: false | true): boolean Parameter Type Description imodel IModelConnection The iModel from which to obtain the extents. enabled false | true Returns - boolean true if the extents are now ON, false if they are now OFF. Defined in frontend-devtools/src/tools/ProjectExtents.ts Line 96 Last Updated: 13 June, 2024