createCode MethodStatic @beta
Creates a Code for an AnnotationTextStyle given a name that is meant to be unique within the scope of the specified DefinitionModel.
createCode(iModel: IModelDb, definitionModelId: string, name: string): Code
| Parameter | Type | Description |
|---|---|---|
| iModel | IModelDb | The IModelDb. |
| definitionModelId | string | The ID of the DefinitionModel that contains the AnnotationTextStyle and provides the scope for its name. |
| name | string | The AnnotationTextStyle name. |
Returns - Code
Defined in
Last Updated: 29 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.