createCode MethodStatic

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: 14 August, 2025