API Reference
Class
OfficeTextCaseTransformer
Applies reusable, culture-aware text casing without depending on a document format.
Inheritance
- Object
- OfficeTextCaseTransformer
Methods
public static String Apply(String text, OfficeTextCase textCase, CultureInfo? culture = null) #Returns:
StringApplies the requested casing transformation.
Parameters
- text System.String
- Text to transform.
- textCase OfficeIMO.Drawing.OfficeTextCase
- Transformation to apply.
- culture System.Globalization.CultureInfo? = null
- Culture used for casing. The current culture is used when omitted.
Returns
The transformed text.
public static IReadOnlyList<String> ApplySegments(IReadOnlyList<String> segments, OfficeTextCase textCase, CultureInfo? culture = null) #Returns:
IReadOnlyList<String>Applies one casing transformation across adjacent text segments, then redistributes the result without resetting sentence or word context at formatting boundaries.
Parameters
- segments System.Collections.Generic.IReadOnlyList<System.String>
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?