←Select platform

LastRow Property

Summary

Gets the index of the last row in a specified range of cells within a sheet.

Syntax

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

Property Value

The index of the last row in the cell range.

Remarks

The LastRow property retrieves the index of the last row within a defined cell range, adhering to zero-based indexing, where the spreadsheet's first row is represented as 0.

Requirements

Target Platforms

See Also

CellRange Class

CellRange 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.