Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelRowLayoutOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Describes row-level layout and style changes that should be applied together.

Inheritance

  • object
  • ExcelRowLayoutOptions

Usage

Explore 2 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.

Accepted by parameters 2

Constructors

public ExcelRowLayoutOptions() #

Properties

public ExcelColumnWidth? Height { get; set; } #

Explicit row height as characters or a physical length. Use ExcelRowLayoutOptions.ClearHeight to remove a custom height.

public bool ClearHeight { get; set; } #

Clears any custom row height before optional auto-fit is applied.

public bool AutoFit { get; set; } #

Auto-fits the row height after style changes are applied.

public bool? Hidden { get; set; } #

Optional hidden state for the row.

public bool? Bold { get; set; } #

Optional bold font state applied to cells in the target column span.

public bool? Italic { get; set; } #

Optional italic font state applied to cells in the target column span.

public bool? Underline { get; set; } #

Optional underline font state applied to cells in the target column span.

public bool? WrapText { get; set; } #

Optional wrap-text state applied to cells in the target column span.

public string? FontFamily { get; set; } #

Optional font family applied to cells in the target column span.

public OfficeColor? BackgroundColor { get; set; } #

Optional background color applied to cells in the target column span. Native theme roles remain linked to the workbook theme.

public int? FirstColumn { get; set; } #

First 1-based column affected by cell style options. Defaults to the worksheet used range.

public int? LastColumn { get; set; } #

Last 1-based column affected by cell style options. Defaults to the worksheet used range.