[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.CenterHeaderPicture

CenterHeaderPicture Property

CenterHeaderPicture

Returns a IGraphic object that represents the picture for the center section of the header. Used to set attributes about the picture.

Declaration
IGraphic CenterHeaderPicture { get; }
ReadOnly Property CenterHeaderPicture As IGraphic
Examples
IPageSetup pageSetup = worksheet.PageSetup;
IGraphic picture = pageSetup.CenterHeaderPicture;
picture.Filename = System.IO.Path.Combine("Users", "DefaultApps", "Documents", "logo.png");
picture.Width = 36;