API Reference > imodeljs-common > DisplayStyles > DisplayStyleSettings > viewFlags viewFlags Accessor The ViewFlags associated with the display style. get: ViewFlags note If the style is associated with a ViewState attached to a Viewport, use viewFlags to modify the ViewFlags to ensure the changes are promptly visible on the screen. note Do not modify the ViewFlags in place. Clone them and pass the clone to the setter. Returns - ViewFlags Setter The ViewFlags associated with the display style. set(flags: ViewFlags): void note If the style is associated with a ViewState attached to a Viewport, use viewFlags to modify the ViewFlags to ensure the changes are promptly visible on the screen. note Do not modify the ViewFlags in place. Clone them and pass the clone to the setter. Parameter Type Description flags ViewFlags Returns - void Defined in core/common/src/DisplayStyleSettings.ts Line 215 Last Updated: 13 June, 2024