[]
Gets the IPageSetup object for this worksheet.
The returned object provides access to page setup settings such as print area, margins, orientation, scaling, and headers and footers.
IPageSetup PageSetup { get; }
ReadOnly Property PageSetup As IPageSetup
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"Test", 100}
};
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintArea = "A1:B3";