Version

CreateShadowImage Method

Creates an image 2 pixels wider and taller than the original that contains the original image above a shadowed copy of the image
Syntax
'Declaration
 
Public Shared Function CreateShadowImage( _
   ByVal original As Image, _
   ByVal backColor As Color, _
   ByVal imgAttributes As ImageAttributes _
) As Image
public static Image CreateShadowImage( 
   Image original,
   Color backColor,
   ImageAttributes imgAttributes
)

Parameters

original
Image to shadow
backColor
Backcolor used when rendering the shadow
imgAttributes
ImageAttributes or null

Return Value

An image with a shadow of the original down and to the right of the original
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also