CellsHelper.RowNameToIndex

CellsHelper.RowNameToIndex method

Gets row index according to row name.

public static int RowNameToIndex(string rowName)
ParameterTypeDescription
rowNameStringRow name.

Return Value

Row index.

Examples

using System;
using Aspose.Cells;

namespace AsposeCellsExamples
{
    public class CellsHelperMethodRowNameToIndexWithStringDemo
    {
        public static void Run()
        {
            string rowName = "11";
            int rowIndex = CellsHelper.RowNameToIndex(rowName);
            Console.WriteLine("Row name '{0}' converted to index: {1}", rowName, rowIndex);
        }
    }
}

See Also