[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IShrinkToFitSettings.Ellipsis

Ellipsis Property

Ellipsis

Gets or sets the ellipsis string. The default value is "...".

This string is used when wrapped text is not fully displayed during shrink-to-fit processing. It can be used together with MinimumFont to control how truncated wrapped text is shown.

Declaration
string Ellipsis { get; set; }
Property Ellipsis As String
Examples
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;
settings.MinimumFont = 10;
settings.Ellipsis = "~";
string ellipsis = settings.Ellipsis;
workbook.Save("output.pdf", options);