[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintManager.GetShrinkToFitFontSize

GetShrinkToFitFontSize Method

GetShrinkToFitFontSize(IRange, PdfSaveOptions)

Gets the best shrink-to-fit font size of the upper-left cell.

Declaration
public double GetShrinkToFitFontSize(IRange range, PdfSaveOptions options)
Public Function GetShrinkToFitFontSize(range As IRange, options As PdfSaveOptions) As Double
Parameters
Type Name Description
IRange range

The range to be printed.

PdfSaveOptions options

Options for saving pdf file.

Returns
Type Description
double

The font size to apply for shrinking text to fit within the range.