C# AutoCAD | How to properly set the Icon on MenuItem in ContextMenuExtension

Viewed 19

I'm trying to set an Icon for a MenuItem in a ContextMenu Extension, but the icon is set with defects: enter image description here

Original icon (16x16):
enter image description here

Code to set Icon:

polyline_item1.Icon = ACADConstructionPit.Properties.Resources.exchangeProfile;

How to properly set the Icon on MenuItem in ContextMenuExtension?

0 Answers
Related