Beispiel #1
0
 /// <summary>
 /// Checks if a row is visible.
 /// </summary>
 /// <param name="row">The row number.</param>
 /// <returns>True if the row is visble.</returns>
 /// <remarks>
 /// Rows set to "hidden" and/or filtered out are considered invisible.
 /// Rows with zero hight are considered visible.
 /// </remarks>
 public bool IsRowVisible(int row)
 {
     using (var cells_in_row = Cells.Rows[row])
         using (var intersection = ExcelApp.Intersect(VisibleCells, cells_in_row))
         {
             return(intersection != null);
         }
 }