←Select platform

FirstCellIndex Property

Summary

Gets the index of the first non-empty cell within the row. This property allows for the identification of the starting point of data or formatting within a specific row of an Excel sheet, facilitating operations that depend on the row's content range.

Syntax

C#
C++/CLI
Python
public int FirstCellIndex { get; } 
public:  
   property Int32 FirstCellIndex 
   { 
      Int32 get() 
   } 
FirstCellIndex # get  (Row) 

Property Value

An integer representing the zero-based index of the row's first non-empty cell. If the row is entirely empty, this property may return a value indicating the absence of any cells, depending on the implementation.

Remarks

The FirstCellIndex property is particularly useful for understanding the data distribution within a row. It can serve as a starting point for iterating through cells in a row or for determining the presence of data within specific row segments.

Requirements

Target Platforms

See Also

Row Class

Row Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.