Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Alignment Structure / ShrinkToFit Property


In This Topic
    ShrinkToFit Property (Alignment)
    In This Topic
    Gets or sets a value indicating whether the displayed text in the cell should be shrunk to fit the cell width.
    Syntax
    'Declaration
     
    
    Public Property ShrinkToFit As Boolean
    'Usage
     
    
    Dim instance As Alignment
    Dim value As Boolean
     
    instance.ShrinkToFit = value
     
    value = instance.ShrinkToFit
    public bool ShrinkToFit {get; set;}

    Property Value

    true if the displayed text in the cell should be shrunk to fit the cell width; otherwise, false.
    See Also