Aspose.Cells.GridWeb.Examples.CSharp.RowsAndColumns.CustomizeHeaders.CreateRowCaptions C# (CSharp) Метод

CreateRowCaptions() приватный Метод

private CreateRowCaptions ( ) : void
Результат void
        private void CreateRowCaptions()
        {
            // ExStart:CustomizeRowHeader
            // Accessing the worksheet that is currently active
            GridWorksheet workSheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];

            // Create custom row header caption.
            workSheet.SetRowCaption(1, "Row1");
            workSheet.SetRowCaption(2, "Row2");
            // ExEnd:CustomizeRowHeader
        }
    }