GrapeCity.Windows.SpreadSheet.Data Namespace > Row Class : ShrinkToFit Property |
'Declaration <System.ComponentModel.DefaultValueAttribute()> Public Property ShrinkToFit As System.Boolean
'Usage Dim instance As Row Dim value As System.Boolean instance.ShrinkToFit = value value = instance.ShrinkToFit
[System.ComponentModel.DefaultValue()] public System.bool ShrinkToFit {get; set;}
true
if the content supports shrink to fit; otherwise, false
. The default value is false
.gcSpreadSheet1.ActiveSheet.Rows[1].Tag = "test"; gcSpreadSheet1.ActiveSheet.Rows[1].TabStop = false; gcSpreadSheet1.ActiveSheet.Rows[1].ShrinkToFit = true; gcSpreadSheet1.ActiveSheet.Cells[1, 0].Text = "Row with tags"; //gcSpreadSheet1.ActiveSheet.Rows[1].ResetTabStop(); //gcSpreadSheet1.ActiveSheet.Rows[1].ResetShrinkToFit();
GcSpreadSheet1.ActiveSheet.Rows(1).Tag = "test" GcSpreadSheet1.ActiveSheet.Rows(1).TabStop = False GcSpreadSheet1.ActiveSheet.Rows(1).ShrinkToFit = True GcSpreadSheet1.ActiveSheet.Cells(1, 0).Text = "Row with tags" 'GcSpreadSheet1.ActiveSheet.Rows(1).ResetTabStop() 'GcSpreadSheet1.ActiveSheet.Rows(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