Aspose.Cells.Examples.CSharp.Worksheets.Display.RemovePanes.Run C# (CSharp) Метод

Run() публичный статический Метод

public static Run ( ) : void
Результат void
        public static void Run()
        {
            // ExStart:1
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

            // Instantiate a new workbook and Open a template file
            Workbook book = new Workbook(dataDir + "Book1.xls");

            // Set the active cell
            book.Worksheets[0].ActiveCell = "A20";

            // Split the worksheet window
            book.Worksheets[0].RemoveSplit();

            // Save the excel file
            book.Save(dataDir + "output.xls");
            // ExEnd:1
        }
    }
RemovePanes