[]
Gets or sets whether wrapped text can shrink to fit.
Returns whether wrapped text is allowed to reduce its font size during PDF export when shrink-to-fit is applied.
bool CanShrinkToFitWrappedText { get; set; }
Property CanShrinkToFitWrappedText As Boolean
worksheet.Range["A1"].Value = "Document Solutions For Excel";
worksheet.Range["A1"].ColumnWidth = 12;
worksheet.Range["A1"].WrapText = true;
worksheet.Range["A1"].ShrinkToFit = true;
PdfSaveOptions options = new PdfSaveOptions();
IShrinkToFitSettings settings = options.ShrinkToFitSettings;
settings.CanShrinkToFitWrappedText = true;
bool canShrinkWrappedText = settings.CanShrinkToFitWrappedText;
workbook.Save("output.pdf", options);