'DeclarationPublic Overloads Shared Function CreateDataBar( _ ByVal dataBarType As DataBarType, _ ByVal color As ExcelColorElement _ ) As ConditionalFormattingDataBar
'UsageDim dataBarType As DataBarType Dim color As ExcelColorElement Dim value As ConditionalFormattingDataBar value = ConditionalFormatting.CreateDataBar(dataBarType, color)
public static ConditionalFormattingDataBar CreateDataBar( DataBarType dataBarType, ExcelColorElement color )
Parameters
- dataBarType
- The DataBarType.
- color
- The ExcelColorElement that will be used for the formatting.