←Select platform

LastRowIndex Property

Summary

Gets the index of the last non-empty row within the sheet.

Syntax

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

Property Value

A zero-based index of the last row in the sheet that contains either data or formatting.

Remarks

The LastRowIndex property offers a straightforward means to gauge the extent of populated content within a sheet, supporting efficient data processing, analysis, and formatting adjustments from the beginning to the end of the document.

Requirements

Target Platforms

See Also

Sheet Class

Sheet Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.5.30
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.