API Reference

Class

LegacyXlsColumnLayout

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Represents formatting and visibility metadata for a legacy XLS column range.

Inheritance

  • Object
  • LegacyXlsColumnLayout

Usage

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

Returned or exposed by

Constructors

public LegacyXlsColumnLayout(Int32 startColumn, Int32 endColumn, Double width, Boolean hidden, UInt16 styleIndex, Byte outlineLevel = 0, Boolean collapsed = false) #

Creates legacy column layout metadata.

Parameters

startColumn System.Int32 requiredposition: 0
One-based first column.
endColumn System.Int32 requiredposition: 1
One-based last column.
width System.Double requiredposition: 2
Column width in Excel character-width units.
hidden System.Boolean requiredposition: 3
Whether the column range is hidden.
styleIndex System.UInt16 requiredposition: 4
Default legacy XF style index for the column range.
outlineLevel System.Byte = 0 optionalposition: 5
Excel outline level from 0 through 7.
collapsed System.Boolean = false optionalposition: 6
Whether the column range is shown as collapsed.

Properties

public Int32 StartColumn { get; } #

Gets the one-based first column.

public Int32 EndColumn { get; } #

Gets the one-based last column.

public Double Width { get; } #

Gets the column width in Excel character-width units.

public Boolean Hidden { get; } #

Gets whether the column range is hidden.

public UInt16 StyleIndex { get; } #

Gets the default legacy XF style index for the column range.

public Byte OutlineLevel { get; } #

Gets the Excel outline level from 0 through 7.

public Boolean Collapsed { get; } #

Gets whether the column range is shown as collapsed.