WorkbookSettings.WindowTopCM
WorkbookSettings.WindowTopCM property
The distance from the top edge of the client area to the top edge of the window, in unit of centimeter.
public double WindowTopCM { get; set; }
Examples
using System;
using Aspose.Cells;
namespace AsposeCellsExamples
{
    public class WorkbookSettingsPropertyWindowTopCMDemo
    {
        public static void Run()
        {
            // Create a new workbook
            Workbook workbook = new Workbook();
            // Access workbook settings
            WorkbookSettings settings = workbook.Settings;
            // Set WindowTopCM property (position from top in centimeters)
            settings.WindowTopCM = 2.5;
            // Display the current WindowTopCM value
            Console.WriteLine("Window Top Position (cm): " + settings.WindowTopCM);
            // Save the workbook
            workbook.Save("WindowTopCMDemo.xlsx", SaveFormat.Xlsx);
        }
    }
}
See Also
- class WorkbookSettings
 - namespace Aspose.Cells
 - assembly Aspose.Cells