create MethodStatic
Creates a new instance of AnnotationTextStyle
with the specified properties.
create(iModelDb: IModelDb, definitionModelId: string, name: string, settings?: TextStyleSettingsProps, description?: string): AnnotationTextStyle
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | The iModelDb. |
definitionModelId | string | The ID of the DefinitionModel. |
name | string | The name to assign to the AnnotationTextStyle . |
settings | TextStyleSettingsProps | Optional text style settings used to create the AnnotationTextStyle . Default settings will be used if not provided. |
description | string | Optional description for the AnnotationTextStyle . |
Returns - AnnotationTextStyle
Defined in
Last Updated: 14 August, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.