Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeTextCase

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines culture-aware transformations that change stored text casing.

Inheritance

  • Enum
  • OfficeTextCase

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const OfficeTextCase None #

Preserves the text exactly as supplied.

Value: 0
public const OfficeTextCase Uppercase #

Converts all cased characters to uppercase.

Value: 1
public const OfficeTextCase Lowercase #

Converts all cased characters to lowercase.

Value: 2
public const OfficeTextCase TitleCase #

Capitalizes words using the selected culture.

Value: 3
public const OfficeTextCase SentenceCase #

Lowercases text and capitalizes the first cased character of each sentence.

Value: 4
public const OfficeTextCase ToggleCase #

Converts lowercase characters to uppercase and uppercase characters to lowercase.

Value: 5
public const OfficeTextCase Capitalize #

Uppercases the first cased character of each word while preserving the remaining characters.

Value: 6