28 formattedText.
AddRun(text, font);
40 formattedText.
AddRun(text, styleBuilder);
85 return builder.
Build();
Builder for creating formatted text entries with a fluent API.
FormattedText Build()
Method to build the formatted text instance.
FormattedTextBuilder AddRun(string text, Action< InlineStyleBuilder > styleBuilder)
Adds a text run with a style defined by a style builder action.
FormattedTextBuilder AddPhoneticRun(string text, uint startBase, uint endBase)
Adds a phonetic run to the formatted text.
FormattedTextBuilder SetPhoneticProperties(Font fontReference, PhoneticRun.PhoneticType type=PhoneticRun.PhoneticType.FullwidthKatakana, PhoneticRun.PhoneticAlignment alignment=PhoneticRun.PhoneticAlignment.Left)
Sets the phonetic properties for the formatted text.
FormattedTextBuilder AddRun(string text, Font font=null)
Adds a text run with an optional style to the formatted text.
Represents a phonetic run that provides pronunciation guidance for text.
PhoneticAlignment
Enumeration for phonetic text alignment.
PhoneticType
Enumeration for phonetic text types.
Represents a formatted text entry in Excel shared strings, supporting rich text with multiple runs an...