ExcelColumnStyleByHeaderBuilderFluent
OfficeIMO.Excel
The fluent methods of ExcelColumnStyleByHeaderBuilder, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ExcelColumnStyleByHeaderBuilderFluent
Methods
public static ExcelColumnStyleByHeaderBuilder Bold(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, bool bold = true) #Sets or clears bold text.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- bold bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder BoldByTextSet(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, ISet<string> values, bool bold = true, bool caseInsensitive = true) #Sets or clears bold where cell text is in the given set.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- values System.Collections.Generic.ISet<string>
- The value.
- bold bool = true
- The value.
- caseInsensitive bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder BoldWhenTextEquals(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, string text, bool bold = true, bool caseInsensitive = true) #Sets or clears bold where cell text equals the given value.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- text string
- The value.
- bold bool = true
- The value.
- caseInsensitive bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder Color(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, OfficeColor color) #Sets the literal or theme-based text color.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- color OfficeIMO.OfficeColor
- The value.
public static ExcelColumnStyleByHeaderBuilder ColorByTextMap(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, IDictionary<string, OfficeColor> map, bool caseInsensitive = true) #Sets text colors by matching cell text to a color map.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- map System.Collections.Generic.IDictionary<string, OfficeIMO.OfficeColor>
- The value.
- caseInsensitive bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder FillColor(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, OfficeColor color) #Sets the literal or theme-based solid fill color.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- color OfficeIMO.OfficeColor
- The value.
public static ExcelColumnStyleByHeaderBuilder FillColorByTextMap(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, IDictionary<string, OfficeColor> map, bool caseInsensitive = true) #Sets fill colors by matching cell text to a color map.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- map System.Collections.Generic.IDictionary<string, OfficeIMO.OfficeColor>
- The value.
- caseInsensitive bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder FillColorWhenTextEquals(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, string text, OfficeColor color, bool caseInsensitive = true) #Sets a fill where cell text equals the given value. Comparison is case-insensitive by default.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- text string
- The value.
- color OfficeIMO.OfficeColor
- The value.
- caseInsensitive bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder FontFamily(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, string fontFamily) #Sets the typeface family name.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- fontFamily string
- The value.
public static ExcelColumnStyleByHeaderBuilder FontSize(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, OfficeLength fontSize) #Sets a positive physical font size.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- fontSize OfficeIMO.OfficeLength
- The value.
public static ExcelColumnStyleByHeaderBuilder HorizontalAlignment(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, ExcelHorizontalAlignment alignment) #Sets horizontal alignment.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- alignment OfficeIMO.Excel.ExcelHorizontalAlignment
- The value.
public static ExcelColumnStyleByHeaderBuilder Italic(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, bool italic = true) #Sets or clears italic text.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- italic bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder NumberFormat(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, string format) #Applies a custom number format without materializing a pending direct tabular export.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- format string
- The value.
public static ExcelColumnStyleByHeaderBuilder Strikethrough(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, bool strikethrough = true) #Sets or clears strikethrough.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- strikethrough bool = true
- The value.
public static ExcelColumnStyleByHeaderBuilder Underline(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, bool underline = true) #Sets or clears single underline.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- underline bool = true
- The value. True when omitted.
public static ExcelColumnStyleByHeaderBuilder Underline(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, ExcelUnderlineStyle underlineStyle) #Sets the native Excel underline style.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- underlineStyle OfficeIMO.Excel.ExcelUnderlineStyle
- The value.
public static ExcelColumnStyleByHeaderBuilder VerticalAlignment(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, ExcelVerticalAlignment alignment) #Sets vertical alignment.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- alignment OfficeIMO.Excel.ExcelVerticalAlignment
- The value.
public static ExcelColumnStyleByHeaderBuilder VerticalTextAlignment(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, ExcelVerticalTextAlignment alignment) #Sets baseline, superscript or subscript text alignment.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- alignment OfficeIMO.Excel.ExcelVerticalTextAlignment
- The value.
public static ExcelColumnStyleByHeaderBuilder WrapText(ExcelColumnStyleByHeaderBuilder excelColumnStyleByHeaderBuilder, bool wrapText = true) #Sets or clears text wrapping.
Parameters
- excelColumnStyleByHeaderBuilder OfficeIMO.Excel.ExcelColumnStyleByHeaderBuilder
- The instance.
- wrapText bool = true
- The value.