Understanding 'The Text has an invalid graphics rendering context.' EyeshotException

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.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.