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.
Have more questions? Submit a request
Comments
Please sign in to leave a comment.