C# Resource images import


I have some images on resouce folder on visual studio, I need import some of then for

I get this image with this command, and return true:

Bitmap bitmap1 = Teste.Properties.Resources.polido;

But now I need import to some position on Rhino, Any idea?


Hi @MatrixRatrix,

You haven’t provided enough information for us to understand what you are trying to do and why? Can you please ask your question again and provide more details as to what you want to do?

– Dale

Hello @dale ,

Basically, I need to embed some images inside my plugin, so I can then export to the viewport in rhino.

I was thinking of importing to visual studio resources, the images are fixed and will not be changed, bad idea ??

Thank you

OK, I understand this.

OK, I don’t understand this. What does “export to viewport” mean?

  • Dale

If by exporting to viewport you mean drawing them in the viewport you can have a look at

Is it possible to load the embed image file as texture?