{description}
{excerpt}Sets or returns whether text in a cell should be reduced in size to fit within the cell's width.{excerpt}
{signature:C#}
 public boolean ShrinkToFit{ get; set; }
{signature}{signature:vb.net}
Public Property ShrinkToFit() As Boolean
{signature}
{example}{code:csharp|title=C#}

          //--- Get ShrinkToFit
          bool shrink = styl.ShrinkToFit;

          //--- Set ShrinkToFit
          styl.ShrinkToFit = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Get ShrinkToFit
          Dim shrink As Boolean = styl.ShrinkToFit

          '--- Set ShrinkToFit
          styl.ShrinkToFit = True
        {code}

{example}