A simple way is with DropShadowEffect Class
A test in C++ (/clr) with color (169, 169, 169) and ShadowDepth = 15 =>
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm displaying bitmaps, and I'd like to add a simple drop shadow to them (like the way Explorer does in the preview pane). I figured out how to do it with Direct2D, but that was sort of overkill, so I was wondering if there's a simpler way to do it using GDI+. I'm very new to graphics.
GDI+ has a Blur class. I was wondering if that could be used on a plain gray bitmap, and then offset from the original image to create a shadow. Does anyone know if that would work? I can't seem to find any examples of drop shadows using that Blur class.
Thanks for any input.
A simple way is with DropShadowEffect Class
A test in C++ (/clr) with color (169, 169, 169) and ShadowDepth = 15 =>