[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.CenterVertically

CenterVertically Property

CenterVertically

Gets or sets whether the sheet is centered vertically on the page when it's printed.

This property indicates whether the worksheet content is vertically centered within the printable page area during printing.

Declaration
bool CenterVertically { get; set; }
Property CenterVertically As Boolean
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.CenterVertically = true;
bool centerVertically = pageSetup.CenterVertically;