Class RangeRow
A class that represents a single row of cells.
Inherited Members
Namespace: IronXL
Assembly: IronXL.dll
Syntax
public class RangeRow : Range, IEnumerable<Cell>, IEnumerable
Properties
Height
Gets or sets the height of the row.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Hidden
Gets or sets a value indicating whether this row is hidden.
Declaration
public bool Hidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RangeAddress
Address of the row.
Declaration
public RangeAddress RangeAddress { get; }
Property Value
Type | Description |
---|---|
RangeAddress |
Methods
AddRange(Range)
Add range to the current row if they can be combined.
Declaration
public override Range AddRange(Range range)
Parameters
Type | Name | Description |
---|---|---|
Range | range | The range to add to the current working range. |
Returns
Type | Description |
---|---|
Range | This Range allowing a fluent coding style. |
Overrides
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This range cannot be added to the current row because they are not on the same line or cannot be combined in one row |
RemoveRow()
Removes this Row from the current WorkSheet;
Declaration
public void RemoveRow()
SubtractRange(Range)
Subtract range from the current row if it can be subtracted
Declaration
public override Range SubtractRange(Range range)
Parameters
Type | Name | Description |
---|---|---|
Range | range | The range to remove from the current working range. |
Returns
Type | Description |
---|---|
Range | This Range allowing a fluent coding style. |
Overrides
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This range cannot be subtracted from the current row because result row isn't continuous |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable