GH_GeometricGoo<Rhino.Display.Text3d> can’t work in Visual Studio

Hello, everyone!
I’ve been worried about the text3d management. I can’t set the style, color and add a output in grasshopper. David once released an example to implement text3d bake in grasshopper, which is very useful. Now I want to implement it in Visual Studio and add some controls on color and text style on this basis. However, the code copied from the C# script component has encountered problems and cannot be displayed in rhinoceros. When connected to a panel, the content displayed is the same. I don’t know where the problem is. Now I upload the code here, can someone help me solve this problem? Thank you very much!


3DText.cs (5.9 KB)