[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.CenterHeader

CenterHeader Property

CenterHeader

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.

Declaration
string CenterHeader { get; set; }
Property CenterHeader As String
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.CenterHeader = "Quarterly Report";
string centerHeader = pageSetup.CenterHeader;