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?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more