vb.netimagewinformstoolstripbutton

Resizing ToolStrip item's image


Is there any way I can fit/resize the image of ToolStrip item? I already set the property AutoSize = False , ImageScaling = SizeToFit & Size = 40, 40 but only the item's boxes resizing (leave spaces around image) and the image size is still with it's default size.

I then came up with inserting the image using BackgroundImage instead of inserting it at Image. I can fit/resize the image but the problem is when I run my system and pointing the cursor on the ToolStrip item, the item's image disappear. I found this solution Resizing ToolStripButtons to fit complete BackGround image but I don't know how to apply it using vb.net

Kindly to help me. Thank you.


Solution

  • If you want your images show in original size

    If you want your images show in a specific size