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 |
Defined in
Last Updated: 08 January, 2020