Version

CreateDisabledImage(Image,Color,ImageAttributes) Method

Creates a disabled copy of the specified image
Syntax
'Declaration
 
Public Overloads Shared Function CreateDisabledImage( _
   ByVal original As Image, _
   ByVal backColor As Color, _
   ByVal imgAttributes As ImageAttributes _
) As Image
public static Image CreateDisabledImage( 
   Image original,
   Color backColor,
   ImageAttributes imgAttributes
)

Parameters

original
Original image
backColor
Backcolor used to fill the background of the image
imgAttributes
Image Attributes used to copy the image.

Return Value

A copy of the specified image rendered as disabled
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