Version

CreateSolidFill(Color) Method

Creates a solid color fill that can be applied to a cell.
Syntax
'Declaration
 
Public Overloads Shared Function CreateSolidFill( _
   ByVal solidColor As Color _
) As CellFillPattern
public static CellFillPattern CreateSolidFill( 
   Color solidColor
)

Parameters

solidColor
The solid color of the fill.
Exceptions
ExceptionDescription
System.ArgumentExceptionsolidColor is the empty color or has a non-opaque alpha channel.
Requirements

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