ExcelRichTextRunFluent
OfficeIMO.Excel
The fluent methods of ExcelRichTextRun, 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
- ExcelRichTextRunFluent
Methods
public static ExcelRichTextRun Bold(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Bold: Gets or sets whether the run is bold.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Bold = value; excelRichTextRun.Bold(value);public static ExcelRichTextRun Color(ExcelRichTextRun excelRichTextRun, OfficeColor? value) #Sets ExcelRichTextRun.Color: Gets or sets the literal or theme-based run text color.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Color = value; excelRichTextRun.Color(value);public static ExcelRichTextRun Condense(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Condense: Gets or sets whether the run font uses condensed text.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Condense = value; excelRichTextRun.Condense(value);public static ExcelRichTextRun Extend(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Extend: Gets or sets whether the run font uses extended text.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Extend = value; excelRichTextRun.Extend(value);public static ExcelRichTextRun FontCharacterSet(ExcelRichTextRun excelRichTextRun, byte? value) #Sets ExcelRichTextRun.FontCharacterSet: Gets or sets the run font character set byte.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value byte?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.FontCharacterSet = value; excelRichTextRun.FontCharacterSet(value);public static ExcelRichTextRun FontFamily(ExcelRichTextRun excelRichTextRun, string? value) #Sets ExcelRichTextRun.FontFamily: Gets or sets the run typeface family name.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.FontFamily = value; excelRichTextRun.FontFamily(value);public static ExcelRichTextRun FontFamilyClassification(ExcelRichTextRun excelRichTextRun, byte? value) #Sets ExcelRichTextRun.FontFamilyClassification: Gets or sets the run font family classification byte.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value byte?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.FontFamilyClassification = value; excelRichTextRun.FontFamilyClassification(value);public static ExcelRichTextRun FontSize(ExcelRichTextRun excelRichTextRun, OfficeLength? value) #Sets ExcelRichTextRun.FontSize: Gets or sets the positive physical run font size; null inherits the cell font size.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.FontSize = value; excelRichTextRun.FontSize(value);public static ExcelRichTextRun Italic(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Italic: Gets or sets whether the run is italic.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Italic = value; excelRichTextRun.Italic(value);public static ExcelRichTextRun Outline(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Outline: Gets or sets whether the run font uses outline text.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Outline = value; excelRichTextRun.Outline(value);public static ExcelRichTextRun Shadow(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Shadow: Gets or sets whether the run font uses shadow text.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Shadow = value; excelRichTextRun.Shadow(value);public static ExcelRichTextRun Strikethrough(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Strikethrough: Gets or sets whether the run is struck through.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Strikethrough = value; excelRichTextRun.Strikethrough(value);public static ExcelRichTextRun Text(ExcelRichTextRun excelRichTextRun, string value) #Sets ExcelRichTextRun.Text: Gets or sets the run text.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Text = value; excelRichTextRun.Text(value);public static ExcelRichTextRun Underline(ExcelRichTextRun excelRichTextRun, bool value = true) #Sets ExcelRichTextRun.Underline: Gets or sets whether the run is underlined.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.Underline = value; excelRichTextRun.Underline(value);public static ExcelRichTextRun UnderlineStyle(ExcelRichTextRun excelRichTextRun, ExcelUnderlineStyle? value) #Sets ExcelRichTextRun.UnderlineStyle: Gets or sets the run underline style.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value OfficeIMO.Excel.ExcelUnderlineStyle?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.UnderlineStyle = value; excelRichTextRun.UnderlineStyle(value);public static ExcelRichTextRun VerticalTextAlignment(ExcelRichTextRun excelRichTextRun, ExcelVerticalTextAlignment? value) #Sets ExcelRichTextRun.VerticalTextAlignment: Gets or sets the run vertical text alignment.
Parameters
- excelRichTextRun OfficeIMO.Excel.ExcelRichTextRun
- The instance.
- value OfficeIMO.Excel.ExcelVerticalTextAlignment?
- The value.
Examples
// C# initializer or property // C# fluent
excelRichTextRun.VerticalTextAlignment = value; excelRichTextRun.VerticalTextAlignment(value);