Aspose.Cells.GridWeb.Examples.CSharp.RowsAndColumns.CustomizeHeaders.CreateRowCaptions C# (CSharp) Méthode

CreateRowCaptions() private méthode

private CreateRowCaptions ( ) : void
Résultat 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
        }
    }