remapFields MethodStatic

When copying an ITextAnnotation from one iModel into another, remaps the element Ids in any FieldPropertyHost within the cloned element so that they refer to elements in the context's target iModel, and sets any Ids that cannot be remapped to Id64.invalid. Implementations of ITextAnnotation should invoke this function from their implementations of _onCloned.

remapFields(clone: ITextAnnotation, context: IModelElementCloneContext): void

Parameter Type Description
clone ITextAnnotation  
context IModelElementCloneContext  

Returns - void

Defined in

Last Updated: 07 October, 2025