[]
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.
bool BestFitRows { get; set; }
Property BestFitRows As Boolean
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.BestFitRows = true;
bool bestFitRows = pageSetup.BestFitRows;