Enum
ExcelHorizontalAlignment
OfficeIMO.Excel
Defines OfficeIMO values corresponding to DocumentFormat.OpenXml.Spreadsheet.HorizontalAlignmentValues.
Inheritance
- Enum
- ExcelHorizontalAlignment
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Field ExcelHorizontalAlignment.Center
- Field ExcelHorizontalAlignment.CenterContinuous
- Field ExcelHorizontalAlignment.Distributed
- Field ExcelHorizontalAlignment.Fill
- Field ExcelHorizontalAlignment.General
- Field ExcelHorizontalAlignment.Justify
- Field ExcelHorizontalAlignment.Left
- Field ExcelHorizontalAlignment.Right
- Property ExcelStyleDefinition.HorizontalAlignment
- Property LegacySpreadsheetCellContent.Alignment
Accepted by parameters 2
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const ExcelHorizontalAlignment CenterContinuous #Represents the Open XML value centerContinuous.
Value:
6public const ExcelHorizontalAlignment Distributed #Represents the Open XML value distributed.
Value:
7