Version

Search Results

UnderlineStyle Property (IWorkbookFont)

Gets or sets the underline style of the font. Syntax Property Value The underline style of the font. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the FontUnderlineStyle enumeration.

IWorksheetCellFormat Interface

Represents the format for the cell. Syntax Remarks Depending on where the format is exposed, it will have a different meaning. For example, a cells format just applies to itself, but a row or columns format applies to all cells in that row or column. There are also style formats, which can be the parent of other f...

IWorksheetCellFormat Interface Members

Public Properties Public Methods

Alignment Property (IWorksheetCellFormat)

Gets or sets the horizontal alignment of the content in a cell. Syntax Property Value The horizontal alignment of the content in a cell. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the HorizontalCellAlignment enumeration.

BottomBorderColorInfo Property

Gets or sets the bottom border color. Syntax Property Value The bottom border color. Remarks If the border color is set to a non-default value and the BottomBorderStyle is set to Default, it will be resolved to Thin.

BottomBorderStyle Property

Gets or sets the bottom border style. Syntax Property Value The bottom border style. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the CellBorderLineStyle enumeration. Remarks If the border style is set to a non-default value and the Bottom...

DiagonalBorderColorInfo Property

Gets or sets the diagonal border color. Syntax Property Value The diagonal border color. Remarks If the border color is set to a non-default value and the DiagonalBorderStyle is set to Default, it will be resolved to Thin.

DiagonalBorders Property

Gets or sets the diagonal borders. Syntax Property Value The diagonal border style. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the CellBorderLineStyle enumeration. Remarks If the diagonal borders are set to something other than None and ...