[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.BestFitRows

BestFitRows Property

BestFitRows

Gets or sets whether row heights are adjusted to fit the tallest text height for printing.

When this property is true, the page setup automatically adjusts row heights to accommodate the tallest text when the worksheet is printed.

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