API Reference > imodeljs-frontend > Rendering > EmphasizeElements > toJSON toJSON Method Serialize to JSON representation. toJSON(vp: Viewport): EmphasizeElementsProps see EmphasizeElements.fromJSON Parameter Type Description vp Viewport Returns - EmphasizeElementsProps Defined in core/frontend/src/EmphasizeElements.ts Line 530 Last Updated: 12 June, 2024