[]
Gets or sets the text in the center header section of the IPageSetup object.
Use this property to retrieve the centered header content for the worksheet's page setup.
string CenterHeader { get; set; }
Property CenterHeader As String
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.CenterHeader = "Quarterly Report";
string centerHeader = pageSetup.CenterHeader;