Class ExcelRangeRow¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Represents a range of rows
public class ExcelRangeRow : IEnumerable<ExcelRangeRow>, IEnumerable, IEnumerator<ExcelRangeRow>, IEnumerator, IDisposable
Inheritance¶
Derived¶
Implements¶
IDisposable
IEnumerable
IEnumerable<ExcelRangeRow>
IEnumerator
IEnumerator<ExcelRangeRow>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Collapsed¶
If the row is collapsed in outline mode
Property Value¶
Current¶
The current row object in the iteration
Property Value¶
CustomHeight¶
True if the row Height has been manually set.
Property Value¶
EndRow¶
The last row in the collection
Property Value¶
Height¶
Row height in points. Setting this property will also set CustomHeight to true.
Property Value¶
Hidden¶
If the row is hidden.
Property Value¶
OutlineLevel¶
Outline level. Zero if no outline
Property Value¶
PageBreak¶
Adds a manual page break after the column.
Property Value¶
Phonetic¶
True if the row should show phonetic
Property Value¶
Range¶
Reference to the cell range of the row(s)
Property Value¶
StartRow¶
The first row in the collection
Property Value¶
Style¶
The Style applied to the whole row(s). Only effects cells with no individual style set. Use the Range object if you want to set specific styles.
Property Value¶
StyleID¶
Sets the style for the entire column using the style ID.
Property Value¶
StyleName¶
Sets the style for the entire row using a style name.
Property Value¶
Methods¶
CollapseChildren(bool)¶
Collapses and hides the rows's children. Children are rows immegetaly below or top of the row depending on the OutLineSummaryBelow
allLevels
Parameters¶
allLevels bool
Copy(ExcelRangeRow)¶
Copy this range of rows to the destination rowRange
Parameters¶
destinationRowRange ExcelRangeRow
DeleteAll(Predicate<ExcelRow>)¶
Delete all rows that match the predicate
Parameters¶
Dispose()¶
Disposes this object
ExpandChildren(bool)¶
Expands and shows the rows's children. Children are columns immegetaly below or top of the row depending on the OutLineSummaryBelow
allLevels
Parameters¶
allLevels bool
GetEnumerator()¶
Gets the enumerator
Returns¶
Group()¶
Groups the rows using an outline. Adds one to OutlineLevel for each row if the outline level is less than 8.
MoveNext()¶
Iterate to the next row
Returns¶
False if no more row exists
Reset()¶
Reset the enumerator
SetVisibleOutlineLevel(int, bool)¶
Expands the rows to the OutlineLevel supplied.
Parameters¶
level int
Expand all rows with a OutlineLevel Equal or Greater than this number.
collapseChildren bool
Collapse all children with a greater OutlineLevel than level
Ungroup()¶
Ungroups the rows from the outline. Subtracts one from OutlineLevel for each row if the outline level is larger that zero.