GrapeCity.Windows.SpreadSheet.Data Namespace > Cell Class : ResetShrinkToFit Method |
'Declaration Public Sub ResetShrinkToFit()
'Usage Dim instance As Cell instance.ResetShrinkToFit()
public void ResetShrinkToFit()
gcSpreadSheet1.ActiveSheet.Cells[1, 1].Tag = "test"; gcSpreadSheet1.ActiveSheet.Cells[1, 1].TabStop = false; gcSpreadSheet1.ActiveSheet.Cells[1, 1].Text = "Cell with tag"; gcSpreadSheet1.ActiveSheet.Cells[1, 1].ShrinkToFit = true; //gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetTabStop(); //gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetShrinkToFit();
GcSpreadSheet1.ActiveSheet.Cells(1, 1).Tag = "test" GcSpreadSheet1.ActiveSheet.Cells(1, 1).TabStop = False GcSpreadSheet1.ActiveSheet.Cells(1, 1).Text = "Cell with tag" GcSpreadSheet1.ActiveSheet.Cells(1, 1).ShrinkToFit = True 'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetTabStop() 'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetShrinkToFit()
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6