API Reference > imodeljs-backend > Symbology > LineStyleDefinition > LineStyleDefinition.Utils > createStyle createStyle MethodStatic Insert a new line style with the supplied name. createStyle(imodel: IModelDb, scopeModelId: Id64String, name: string, props: LineStyleDefinition.StyleProps): Id64String throws IModelError if unable to insert the line style definition element. Parameter Type Description imodel IModelDb scopeModelId Id64String name string props LineStyleDefinition.StyleProps Returns - Id64String Defined in core/backend/src/LineStyle.ts Line 370 Last Updated: 13 June, 2024