This exception usually raises because the Text entity is added to the Workspace before its render context is initialized.
You can try calling Design.CreateControl(), Design.InitializeViewports() and, for WinForms applications, Design.CreateGraphics() to force the render context initialization when the control is reloaded.
Understanding 'The Text has an invalid graphics rendering context.' EyeshotException

Gian Maria Gentilini
Comments
Please sign in to leave a comment.