Incorrect Doc Example Code

Is there an error in your example code on your doc?

Shouldn’t this:
sheet.Columns

be this:
sheet.Cells.Columns

and this:
sheet.Rows
be:
sheet.Cells.Rows

Thanks,
Russ

@rembling,

You are referring to wrong document. Actually your mentioned document is actually related to GridDesktop (Aspose.Cells.GridDesktop) control and not the Aspose.Cells library. The correct document (with example codes) is Format Rows and Columns, so you may refer to it.

Let us know if you still have confusion or issue.