Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeTextAlignment

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

Horizontal alignment for reusable OfficeIMO drawing text.

Inheritance

  • Enum
  • OfficeTextAlignment

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 OfficeTextAlignment Left #

Align text to the left edge of the text box.

Value: 0
public const OfficeTextAlignment Center #

Center text inside the text box.

Value: 1
public const OfficeTextAlignment Right #

Align text to the right edge of the text box.

Value: 2
public const OfficeTextAlignment Justify #

Distribute words across the available line width when supported.

Value: 3