Version

Contains Method (WorkbookColorPalette)

Determines whether the specified color is in the color palette.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal color As System.Drawing.Color _
) As System.Boolean
public System.bool Contains( 
   System.Drawing.Color color
)

Parameters

color
The color to find in the palette.

Return Value

Determines whether an equivalent color is in the palette.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub